Created
June 17, 2015 19:02
-
-
Save OliverJAsh/4bbd55bbd59a3952f099 to your computer and use it in GitHub Desktop.
jspm bundle SFX format
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*eslint-env node*/ | |
var jspm = require('jspm'); | |
var builder = new jspm.Builder(); | |
builder.buildSFX('main.js', 'build.js', { sfxFormat: 'amd' }); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
window.alert('yay!'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"jspm": { | |
"directories": {}, | |
"dependencies": {}, | |
"devDependencies": { | |
"babel": "npm:babel-core@^5.5.8", | |
"babel-runtime": "npm:babel-runtime@^5.5.8", | |
"core-js": "npm:core-js@^0.9.17" | |
} | |
}, | |
"dependencies": { | |
"jspm": "^0.16.0-beta.2" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment