Closed kasumi-1 closed 2 days ago
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.
output: 'export',
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.
next export
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.
next.config.js
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 tonext.config.js
.