0.3.2 • Published 7 years ago

webpack-candy v0.3.2

Weekly downloads
2
License
MIT
Repository
github
Last release
7 years ago

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"
}