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
The webpack minifaction step is causing an issue when building for production with SSR. The only workaround now is to set the mode in the webpack.server.config.js to none or set the minimize of the optimization option to false.
🐞 Bug report
Command (mark with an
x
)Description
Reopen of Issue #10635
https://github.com/angular/angular-cli/issues/10635
The webpack minifaction step is causing an issue when building for production with SSR. The only workaround now is to set the
mode
in thewebpack.server.config.js
tonone
or set theminimize
of the optimization option tofalse
.🔬 Minimal Reproduction
See Issue #10635
https://github.com/angular/angular-cli/issues/10635
🔥 Exception or Error
500 error
🌍 Your Environment
Anything else relevant?
webpack.server.config.js optimization minimize set to
false
https://gist.github.com/johnzondr/3d4a361ffcfe89f7ee5199dcc13bf246
webpack.server.config.js mode set to
none
https://github.com/snipcart/angular-seo-universal/blob/master/webpack.server.config.js
The text was updated successfully, but these errors were encountered: