Skip to content

Commit

Permalink
Merge pull request #3 from Haaretz/fix/jspm-support
Browse files Browse the repository at this point in the history
Fix/jspm support
  • Loading branch information
TxHawks authored Feb 27, 2017
2 parents 0bd6872 + 2724ce0 commit 5f0e908
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 0 deletions.
8 changes: 8 additions & 0 deletions jspm.browser.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
SystemJS.config({
baseURL: "/",
paths: {
"github:": "jspm_packages/github/",
"npm:": "jspm_packages/npm/",
"htz-dialog/": "src/"
}
});
36 changes: 36 additions & 0 deletions jspm.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
SystemJS.config({
nodeConfig: {
"paths": {
"htz-dialog/": "src/"
}
},
devConfig: {
"map": {
"plugin-babel": "npm:[email protected]"
}
},
transpiler: "plugin-babel",
packages: {
"htz-dialog": {
"main": "index.js",
"meta": {
"*.js": {
"loader": "plugin-babel"
}
}
}
}
});

SystemJS.config({
packageConfigPaths: [
"npm:@*/*.json",
"npm:*.json",
"github:*/*.json"
],
map: {
"htz-dispatch-event": "github:haaretz/[email protected]",
"htz-get-focusables": "github:haaretz/[email protected]"
},
packages: {}
});

0 comments on commit 5f0e908

Please sign in to comment.