代码拉取完成,页面将自动刷新
A Webpack plugin to strip useless modules in manifest.json generated by DllPlugin.
When using DllPlugin to build a bundle, it may add some global js files to the manfiest.json file, causing DllReferencePlugin to mistakenly believe that all entry files in the entry configuration depend on it.
The file currently removed by this plugin is: node_modules/webpack/buildin/global.js
npm install --save-dev strip-dll-manifest-webpack-plugin
In your webpack.config.js:
const StripDllManifestWebpackPlugin = require('strip-dll-manifest-webpack-plugin');
module.exports = {
plugins: [
new webpack.DllPlugin({
name: '[name]_lib',
path: '/path/to/dll-manifest.json'
}),
new StripDllManifestWebpackPlugin({
manifestPath: '/path/to/dll-manifest.json'
})
]
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。