Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

Brian Kidd's avatar

Build frontend assets / simple CI/CD suggestions for Forge

I have a Laravel/Inertia/Vue app that a small EC2 instance is plenty big enough to support. Because of the industry, these users are familiar with ESRI / ArcGIS tools so I am integrating the ArcGIS javascript library into the app. Because of ES build and the library using dynamic imports, my vite npm build process runs out of memory. I've been increasing the node --max-old-space-size but I'm at the point that node still doesn't have enough memory to finish the build.

I can't believe I have enough memory for the app but not my production build process.

I"d appreciate any suggestions on how I may introduce a simple deployment process to build these resources. I'm sure I can build them locally and copy over but I use Forge with quick deploy enabled. This has been working for years for other projects but now I have this issue. Thanks for your time.

0 likes
0 replies

Please or to participate in this conversation.