0.3.2 • Published 7 years ago
webpack-candy v0.3.2
webpack-candy
webpack toolset for personal use.
npm install --save-dev webpack-candy
// webpack.config.js
const candy = require('webpack-candy');
module.exports = candy({
entry: './index.js',
output: {
path: 'public',
filename: 'bundle.js'
}
});
// package.json
"scripts": {
"dev": "webpack-dev-server --hot --inline",
"build": "NODE_ENV=production webpack -p --progress --color"
}