Closed Zzzdy-code closed 1 month ago
Hello @Zzzdy-code, sorry we can't investigate the problem further without reproduction demo, please provide a repro demo by forking rspack-repro, or provide a minimal GitHub repository by yourself. Issues labeled by need reproduction
will be closed if no activities in 14 days.
Since the issue was labeled with need reproduction
, but no response in 14 days. This issue will be closed. Feel free to comment and reopen it if you have any further questions.
System Info
System: OS: Ubuntu 20.04.6 LTS Memory: 31.00 GB Binaries: Node: 18.20.3 npm: 10.7.0 Browsers: Chrome: 112.0.5615.121 npmPackages: "@rspack/cli": "^1.0.0-alpha.5", "@rspack/core": "^1.0.0-alpha.5", "@rspack/dev-server": "^1.0.0-alpha.5", "@rspack/plugin-react-refresh": "^1.0.0-alpha.5",
Details
When I upgraded rspack to 1.0.0-alpha.5, my code worked fine in the development environment, but when I deployed to the production environment, the page crashed with a white screen. This error can be simulated and reproduced in the local development environment by opening the build product page. This is a local simulation reproduction. This is the production environment. It only appear in the production environment.When I changed the mode to another environment, the product was fine.
Reproduce link
No response
Reproduce Steps
npm run build