unijs-bundle
v0.0.9
Published
Bundle System especially for ReactJS Apps
Downloads
4
Readme
bundle
Bundle System especially for ReactJS Apps.
- Universal: Bundles your app for usage in the browser and uses the same transformers to compile the modules for nodeJS.
- Multicore: Takes 1/5 of the time of browserify (without cache)!
Usage
var path = require('path');
var unijsBundle = require('unijs-bundle');
unijsBundle({
entryFile: require.resolve(path.join(__dirname, 'client', 'js', 'main.js')),
swappers: [],
transformers: [require.resolve('./babelTransformer.js')]
});