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 683bb56 commit f47d5c1Copy full SHA for f47d5c1
docs/next.config.js
@@ -4,8 +4,12 @@ const withNextra = require('nextra')({
4
themeConfig: './theme.config.tsx',
5
});
6
7
+const isProduction = process.env.NODE_ENV === 'production';
8
+const basePath = isProduction ? '/experience-sdk' : '';
9
+
10
module.exports = withNextra({
11
output: 'export',
12
+ basePath,
13
images: {
14
unoptimized: true,
15
},
0 commit comments