Replies: 1 comment
-
You can define your own and then inside
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Goals
I'd like to be able to run commands to export nextjs and do dev without needing to modify next.config.js
Non-Goals
No response
Background
I build a capacitor mobile app using nextjs which requires the export command, something like this:
"build:android:prod": "NODE_ENV=production SKIP_SSR=1 next build && next export && npx cap copy android",
Because of this change now instead of simply using next export in my build:android/build:ios command now I have to comment in/out output: export in next.config.js
Proposal
Restore next export command so I can build exports from package.json
Beta Was this translation helpful? Give feedback.
All reactions