npm install html-webpack-plugin --save-dev
# for webpack 2
npm install --save-dev extract-text-webpack-plugin@2.1.2
# for webpack 1
npm install --save-dev extract-text-webpack-plugin@1.0.1
npm install --save-dev copy-webpack-plugin
npm install --save-dev optimize-css-assets-webpack-plugin
npm install clean-webpack-plugin --save-dev
npm install style-loader --save-dev
npm install --save-dev url-loader
npm install --save-dev less-loader less
npm install --save-dev script-loader
npm i --save-dev cross-env
{
"scripts": {
"build": "cross-env NODE_ENV=production webpack --config build/webpack.config.js"
}
}
npm install pushstate-server --save
npm install babel-plugin-dynamic-import-node --save-dev