Webpack support for JSTransformers.
npm install jstransformer-webpack
var webpack = require('jstransformer')(require('jstransformer-webpack'))
var options = {
output: {
path: 'out',
filename: 'bundle.js'
}
};
webpack.renderFileAsync('entry.js', options, function(err, data) {
// out/bundle.js is now compiled.
data.body
//=> stats from http://webpack.github.io/docs/node.js-api.html
});
MIT