【文件属性】:
文件名称:web-ext-webpack-plugin:用于web-ext的webpack插件
文件大小:76KB
文件格式:ZIP
更新时间:2021-03-04 08:19:23
JavaScript
网络扩展插件
一个用于运行web-ext的webpack插件
基本用法
$ npm install --save-dev web-ext-plugin
# Or for yarn
$ yarn install -D web-ext-plugin
webpack.config.js
const WebExtPlugin = require ( 'web-ext-plugin' ) ;
module . exports = {
plugins : [ new WebExtPlugin ( { sourceDir : 'extension-dist' } ) ] ,
} ;
选项
sourceDir (可选)-webpack用来构建扩展的文件夹。 通常,这是您配置output.path指向的位置。 相对路径将相对于webpack.config.js文件进行解析。 默认与webpack.c
【文件预览】:
web-ext-webpack-plugin-master
----yarn.lock(175KB)
----README.md(2KB)
----index.d.ts(410B)
----.gitignore(13B)
----index.js(3KB)
----package.json(815B)