Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

next export is deprecated, blocker for upgrade to next.js 14 #67

Open
kasumi-1 opened this issue Dec 23, 2023 · 0 comments
Open

next export is deprecated, blocker for upgrade to next.js 14 #67

kasumi-1 opened this issue Dec 23, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@kasumi-1
Copy link
Contributor

To perform tauri build we need to export the html to a folder.

However, the build deployed with vercel should not be output: 'export', type, so that dynamic urls work correctly.

next.js deprecated next export in favor of making export type configurable in json, however we do not want to set this, because of above.

https://nextjs.org/docs/pages/building-your-application/deploying/static-exports

I think the best option is to apply overrides for tauri build onto the next.config.js file, maybe there are a few base configs and depending on command run, different ones are copied to next.config.js.

@kasumi-1 kasumi-1 added the enhancement New feature or request label Dec 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant