How do I specify multiple transforms in browserify using the command-line interface?
Specifically, I'm trying to use babelify
, hbsfy
(handlebars), and coffeeify
(coffeescript).
Specify each transform as a separate -t [ transform ]
argument. Pay attention to white space in the -t
options.
browserify jsbundle.js \
-t [ babelify --presets [ es2015 react ] ] \
-t [ hbsfy ] -t [ coffeeify ] \
--extension=jsx --extension=hbs --extension=coffee
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With