Akryum / Akryum/vue-cli-plugin-ssr
Cannot set property of 'removeComments' of undefined when building in development
Aperta
- Lingua principale
- JavaScript
- Stelle
- 441
- Fork
- 69
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
**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
})
}`
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Valutazione
Questa issue non è ancora stata valutata.