Closed poohlaha closed 6 months ago
For starters, I don't understand why would you manually add terser-webpack-plugin if that's what Webpack uses for minification out of the box 🤔
I was not able to reproduce your issue on included Webpack 5 sample. When building for production and serving the output directory using serve
I got, as expected:
I'm closing this because of no reply, but I'm happy to look into this if a reproducible example is provided.
Description
I use the
terser webpack plugin
plugin withwebpack5
in a production environment:I saw that all the nodes in canvas were loaded, and the text was also cut.
A blank space page
It's okay in the testing environment。
Environment