pruno-webpack
v2.1.2 pruno webpack build js es6 react react-hot
pruno-webpack
Build your pruno application with Webpack. this mix supports webpack-dev-server, react-hot-loader, uglification, dedupification, and multiple bundles through YAML configuration. Alternatively, you can point webpack at your own webpack.config.js file with the config option and have full control.
Usage
"use strict";
var pruno = require('pruno');
pruno(function(mix) {
mix
.configure({ dir: __dirname + '/config' })
.webpack({
entry: '::src/index.js',
dist: '::dist/bundle.js',
'hot-load': true,
uglify: false,
devtool: 'eval-source-map'
})
});
npm i pruno-webpack
Metadata
- ISC
- Whatever
- Christian de Botton
- released 4/23/2015