Skip to content

Instantly share code, notes, and snippets.

@myme
Last active October 9, 2015 17:25
Show Gist options
  • Save myme/b30a60185f8b4e10ed2f to your computer and use it in GitHub Desktop.
Save myme/b30a60185f8b4e10ed2f to your computer and use it in GitHub Desktop.
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'));
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