You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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)
Weirdly, this issue only runs when NODE_ENV is 'development', however the actual line that fails is within an isProd check, so that code shouldnt even be running.
Issue:
When running the ssr:build command, the following error is given:
Caused by this line:
webpackConfig.plugin('html-filter').use(HtmlFilterPlugin) if (isProd) { webpackConfig.plugin('html').tap(args => { args[0].minify.removeComments = false <<<<<<<<<<<<<<<<< return args }) }
The text was updated successfully, but these errors were encountered: