Open xgqfrms-GitHub opened 7 years ago
https://gist.github.com/xgqfrms-gildata/5acc4a357722e9e2636009fbd6846338
https://www.bilibili.com/video/av11128844/index_3.html
# node_modules/.bin/webpack # webpack.cmd # webpack-dev-server.cmd $ webpack src/index.js dist/index.js $ webpack src/app.js dist/app.js -w # --watch / -w # webpack [--config webpack.config.js] # webpack <entry> [<entry>] <output>
https://webpack.js.org/api/cli/
https://github.com/jantimon/html-webpack-plugin
https://webpack.js.org/plugins/html-webpack-plugin/
https://webpack.js.org/plugins/html-webpack-plugin/#components/sidebar/sidebar.jsx
$ npm install --save-dev html-webpack-plugin $ npm i -D html-webpack-plugin
https://www.npmjs.com/package/extract-text-webpack-plugin
https://github.com/webpack-contrib/extract-text-webpack-plugin
https://github.com/webpack-contrib/extract-text-webpack-plugin/issues/250
https://webpack.github.io/docs/stylesheets.html
https://webpack.js.org/plugins/extract-text-webpack-plugin/#components/sidebar/sidebar.jsx
# for webpack 2 $ npm install --save-dev extract-text-webpack-plugin $ npm i -D extract-text-webpack-plugin
https://gist.github.com/xgqfrms-GitHub/eff576aa59c081893f5607c39ba9050b#gistcomment-2132126
https://gist.github.com/xgqfrms-gildata/5acc4a357722e9e2636009fbd6846338#gistcomment-2132116
webpack 2
https://gist.github.com/xgqfrms-gildata/5acc4a357722e9e2636009fbd6846338
https://www.bilibili.com/video/av11128844/index_3.html
cmd
https://webpack.js.org/api/cli/
html-webpack-plugin
https://github.com/jantimon/html-webpack-plugin
https://webpack.js.org/plugins/html-webpack-plugin/
https://webpack.js.org/plugins/html-webpack-plugin/#components/sidebar/sidebar.jsx
extract-text-webpack-plugin
https://www.npmjs.com/package/extract-text-webpack-plugin
https://github.com/webpack-contrib/extract-text-webpack-plugin
https://github.com/webpack-contrib/extract-text-webpack-plugin/issues/250
https://webpack.github.io/docs/stylesheets.html
https://webpack.js.org/plugins/extract-text-webpack-plugin/#components/sidebar/sidebar.jsx