ice
ice copied to clipboard
JavaScript heap out of memory
Describe the bug
Expected behavior
用cross-env处理后也不行 改个几次文件后 控制台就会退出报这个错误 这是现在的依赖
Actual behavior
No response
Version of ice.js
3.4.0
Content of build.json or ice.config.mts
Additional context
No response
能够提供可复现的 case,或者考虑禁用 webpack cache 试试,参考代码:
import { defineConfig } from "@ice/app";
export default defineConfig(() => ({
plugins: [{
name: 'custom',
setup({ onGetConfig }) {
onGetConfig((config) => {
config.enableCache = false;
return config;
})
},
}],
}));