Akryum / Akryum/vue-cli-plugin-ssr
Cannot set property of 'removeComments' of undefined when building in development
未关闭
- 主要语言
- JavaScript
- 星标
- 441
- 派生
- 69
- PR 合并指标
- 30 天内没有已合并 PR
描述
**Issue:**
When running the ssr:build command, the following error is given:
```
TypeError: Cannot set property 'removeComments' of undefined
at webpackConfig.plugin.tap.args (C:\src\Bosun\SmeLending.Ui\node_modules\@akryum\vue-cli-plugin-ssr\lib\webpack.js:47:37)
```
Caused by this line:
` webpackConfig.plugin('html-filter').use(HtmlFilterPlugin)
if (isProd) {
webpackConfig.plugin('html').tap(args => {
args[0].minify.removeComments = false <<<<<<<<<<<<<<<<<
return args
})
}`
贡献指南
这个仓库没有索引到贡献指南
评估
这个 Issue 还没有评估数据。