Akryum / Akryum/vue-cli-plugin-ssr
Cannot set property of 'removeComments' of undefined when building in development
Ouverte
- Langage dominant
- JavaScript
- Étoiles
- 441
- Forks
- 69
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
**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
})
}`
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Évaluation
Cette issue n'a pas encore été évaluée.