Next.js Discord

Discord Forum

Cross compile next.js app for different architecture

Unanswered
Florida White posted this in #help-forum
Open in Discord
Florida WhiteOP
I can use --cpu and --os flags of npm https://docs.npmjs.com/cli/v9/commands/npm-install#cpu to download and install packages for a different architecture. Are there similar flags so that I can do a "next build --cpu ... --os ...." and build a standalone output for a different architecture? This would save dramatically time spent in emulation in CI/CD

0 Replies