It's our wits that make us men.

webpack使用

Posted on By Wei Bin

安装

npm init
npm install webpack --save-dev
npm insall css-loader style-loader --save-dev

命令行

webpack hello.js hello.bundle.js --watch 
watch 方法自动监听文件改变

webpack-config.js