Last active
October 9, 2015 17:25
-
-
Save myme/b30a60185f8b4e10ed2f to your computer and use it in GitHub Desktop.
This file contains 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
browserify({ debug: true }) | |
.require('./src/assets.js') | |
.transform('babelify') | |
.bundle() | |
.on('error', console.error) | |
.pipe(exorcist('./build/assets.js.map')) | |
.pipe(fs.createWriteStream('./build/assets.js', 'utf8')); |
This file contains 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
browserify -d -r ./src/assets.js -t babelify -o ./build/assets.js |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment