-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
v2.6.X打包是在rendering chunks 卡住 #5597
Comments
Hello @1770301860. Please provide a minimal reproduction using a GitHub repository or StackBlitz. Issues marked with |
mark |
可以给个例子复现下吗? |
升级完之后, 我的也卡住了, 原因是用element-ui, 如果你也用了element-ui, 或者element-plus的话, 手动把node_modules/element-ui/lib/theme-chalk/*.css 里的@charset "UTF-8";删了 |
|
我这也确实出现了这种问题。 |
lincenying说的对 |
暂时还原到 2.5.10 吧 |
Configuring this can temporarily solve the memory problem
|
Configuring
|
But your script will bigger size and we need to minify it |
|
the same question i've met 🙁 |
the same question when i use ant design vue 3.x |
yesterday i degrade the vite's version to 2.5.x without this problem yet |
I also temporarily reverted to the 2.5.10 |
I solve the problem with this. This is ignore the charset problem. #5833
|
postcss.config.js
直接放vite.config.js里好像和postcss.config.js有冲突, 导致postcss.config.js里的插件不生效 |
FYI as per evanw/esbuild#1862 upgrading to esbuild 0.14.6 fixed this for me (charset removal config no longer required) |
你可以分享你完整的 postcss 配置和 vite 配置吗?我试了还是无效 |
Closing as it seems there was a bug in esbuild which is now fixed. #5597 (comment) |
Describe the bug
使用2.6.x版本打包时 在 rendering chunks 卡住 内存占用突然变得很高 然后就降低了 然后一直卡住
Reproduction
。。。
System Info
Used Package Manager
npm
Logs
No response
Validations
The text was updated successfully, but these errors were encountered: