We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 117640b commit 261ed36Copy full SHA for 261ed36
next.config.mjs
@@ -1,6 +1,6 @@
1
/** @type {import('next').NextConfig} */
2
const nextConfig = {
3
- basePath: '/next',
+ basePath: process.env.NODE_ENV === 'production' ? '/sveltekit' : '',
4
output: 'export', // <=== enables static exports
5
reactStrictMode: true,
6
};
0 commit comments