Skip to content

Instantly share code, notes, and snippets.

@alxhub
Created March 24, 2016 00:03
Show Gist options
  • Save alxhub/eaeaba02eec0b0623939 to your computer and use it in GitHub Desktop.
Save alxhub/eaeaba02eec0b0623939 to your computer and use it in GitHub Desktop.
var Builder = require('systemjs-builder');
var b = (new Builder());
b.config({
map: {
app: 'src',
'deep-assign': 'node_modules/deep-assign',
'is-obj': 'node_modules/is-obj'
},
packages: {
'deep-assign': {
main: 'index.js',
format: 'cjs'
},
'is-obj': {
main: 'index.js'
}
}
});
b.buildStatic('app/index.js', 'out.js');
var deepAssign = require('deep-assign')
console.log(deepAssign);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment