Error has occured after update to 14.1.0 #1673
-
|
I encountered the following error after updating to version 14.1.0. I added the code from the spec dummy to the webpackConfig, and the error was fixed. Is this fix correct? Error log |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
|
@ippachi Thanks for your suggestion! Your fix is correct. However, to optimize the client bundle, I recommend adding: clientConfig.resolve.fallback = { stream: false };If the server bundle's serverConfig.resolve.fallback = { stream: false };Both statements will be added to |
Beta Was this translation helpful? Give feedback.
-
|
14.1.1 fixes this issue. |
Beta Was this translation helpful? Give feedback.
@ippachi Thanks for your suggestion! Your fix is correct. However, to optimize the client bundle, I recommend adding:
If the server bundle's
targetis set toweb, you should also include:Both statements will be added to
webpackConfig.js.tt. Appreciate your input!