打包时内存溢出 JS stacktrace #711
Unanswered
ChrisLey521
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
我在使用vite打包时,一直内存溢出导致打包失败。按照网上的方法设置了 "build": "npx --max_old_space_size=10240 vite build --mode production “ ,仍然内存溢出。其中max_old_space_size试过了 4096, 8192,10240 都没效果。有无朋友遇到相同的问题呢?备注:我使用的是vite 4.0.0, vue2.7.17。使用 @vitejs/plugin-vue2 来支持vue2。
Beta Was this translation helpful? Give feedback.
All reactions