Hi everyone,
I noticed that in packages/frontend/editor-ui/package.json, the build script is:
"build": "cross-env VUE_APP_PUBLIC_PATH=\"/{{BASE_PATH}}/\" NODE_OPTIONS=\"--max-old-space-size=8192\" vite build"
If I understand correctly, --max-old-space-size=8192 means Node.js is allowed to use up to 8GB of memory during the build process.
Could someone please explain why such a large memory limit is needed for building the frontend?
Is this due to the size of the project, specific Vite configurations, or to avoid common build failures?
Thanks in advance for any insights!