【文件属性】:
文件名称:cheerio-webpack-plugin:cheerio webpack插件
文件大小:5KB
文件格式:ZIP
更新时间:2021-05-26 20:49:10
JavaScript
Cheerio Webpack插件
安装说明
$ npm install cheerio-webpack-plugin
用法
const path = require ( 'path' )
const HtmlWebpackPlugin = require ( 'html-webpack-plugin' )
const CheerioWebpackPlugin = require ( 'cheerio-webpack-plugin' )
module . exports = {
entry : './src/index.js' ,
output : {
filename : 'bundle.js' ,
path : path . resolve ( __dirname , './dist' )
} ,
plugins : [
new HtmlWeb
【文件预览】:
cheerio-webpack-plugin-master
----example()
--------webpack.config.js(523B)
--------src()
--------package.json(289B)
----LICENSE(1KB)
----README.md(1KB)
----.editorconfig(147B)
----.gitignore(72B)
----index.js(1KB)
----package.json(575B)