mercury-jsx-folder
Convert a folder of .jsx files into standard .js files - uses mercury-jsx
install
$ npm install mercury-jsx-folder
usage
var processFolder = var processor = processor processor
The above example will load all .jsx
files from __dirname + '/fixtures/src'
and pipe them via a mercury-jsx
.
The results of each file will be written to __dirname + '/fixtures/build'
with the .jsx suffix replaced with .js
cli
To use as a command line application:
$ mercury-jsx-folder -i fixtures/src -o fixtures/build
license
MIT