Skip to content

Instantly share code, notes, and snippets.

@OrKoN
Created September 3, 2015 11:13
Show Gist options
  • Save OrKoN/bca49654576439e3af43 to your computer and use it in GitHub Desktop.
Save OrKoN/bca49654576439e3af43 to your computer and use it in GitHub Desktop.
System.config({
baseURL: "/",
defaultJSExtensions: true,
transpiler: "babel",
babelOptions: {
"optional": [
"runtime",
"optimisation.modules.system"
]
},
paths: {
"github:*": "jspm_packages/github/*",
"npm:*": "jspm_packages/npm/*"
},
map: {
"babel": "npm:babel-core@5.8.23",
"babel-runtime": "npm:babel-runtime@5.8.20",
"core-js": "npm:core-js@1.1.3",
"log": "github:n-fuse/holzfella@0.1.0",
"github:jspm/nodelibs-process@0.1.1": {
"process": "npm:process@0.10.1"
},
"npm:babel-runtime@5.8.20": {
"process": "github:jspm/nodelibs-process@0.1.1"
},
"npm:core-js@1.1.3": {
"fs": "github:jspm/nodelibs-fs@0.1.2",
"process": "github:jspm/nodelibs-process@0.1.1",
"systemjs-json": "github:systemjs/plugin-json@0.1.0"
}
}
});
import log from 'log';
// debug
log.setLevel(4);
export default {};
<!DOCTYPE html>
<html>
<head>
<script src="build.js"></script>
</head>
<body>
</body>
</html>
'use strict';
import './env.dev';
{
"jspm": {
"directories": {},
"dependencies": {
"log": "github:n-fuse/holzfella@^0.1.0"
},
"devDependencies": {
"babel": "npm:babel-core@^5.8.22",
"babel-runtime": "npm:babel-runtime@^5.8.20",
"core-js": "npm:core-js@^1.1.0"
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment