前端技术之:常用webpack插件

1、html-webpack-plugin
Simplifies creation of HTML files to serve your webpack bundles.
主页地址:
https://github.com/jantimon/html-webpack-plugin
安装方法:

npm i --save-dev html-webpack-plugin


2、 extract-text-webpack-plugin
Extracts text from a bundle into a separate file.
主页地址:
https://github.com/webpack-contrib/extract-text-webpack-plugin
安装方法:

npm install --save-dev extract-text-webpack-plugin


3、 style-loader
Adds CSS to the DOM by injecting a