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:[email protected]",
"babel-runtime": "npm:[email protected]",
"core-js": "npm:[email protected]",
"log": "github:n-fuse/[email protected]",
"github:jspm/[email protected]": {
"process": "npm:[email protected]"
},
"npm:[email protected]": {
"process": "github:jspm/[email protected]"
},
"npm:[email protected]": {
"fs": "github:jspm/[email protected]",
"process": "github:jspm/[email protected]",
"systemjs-json": "github:systemjs/[email protected]"
}
}
});
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