-
Notifications
You must be signed in to change notification settings - Fork 0
webpack usage
Jesse edited this page Jul 22, 2016
·
3 revisions
npm install -g webpack
npm init
//add webpack npm install webpack --save-dev //add html genterator npm install html-webpack-plugin --save-dev //add web server npm install webpack-dev-server --save-dev //add css loader npm install css-loader style-loader --save-dev npm install sass-loader --save-dev //url loader npm install url-loader --save-dev //using jquery npm install jquery moment --save-dev
after config webpack.config.js. run webpack on the root folder of your project.