bug-protect-plugin

时间:2024-05-17 13:05:08
【文件属性】:
文件名称:bug-protect-plugin
文件大小:2KB
文件格式:ZIP
更新时间:2024-05-17 13:05:08
JavaScript 安装 npm install --save-dev错误保护插件 用法 在您的webpack-config.js中,只需轻松导入'bug-protect-plugin'并将其添加到如下所示的插件中 const BugProtectPlugin = require('bug-protect-plugin'); const path = require('path'); module.exports = { entry: './index.js', output: { path: path.resolve(__dirname, 'dist'), filename: 'webpack.bundle.js' }, plugins: [ new BugProtectPlugin() ] }; 演示版
【文件预览】:
bug-protect-plugin-master
----index.js(1KB)
----package.json(312B)
----README.md(1KB)

网友评论