update
This commit is contained in:
@@ -6,9 +6,10 @@ console.log(`NODE_ENV: ${process.env.NODE_ENV}`);
|
||||
const basePath = isDev ? "" : `${pkgs.basename}`;
|
||||
const nextConfig: NextConfig = {
|
||||
/* config options here */
|
||||
output: 'export',
|
||||
output: isDev ? undefined : 'export',
|
||||
distDir: 'dist',
|
||||
basePath: basePath,
|
||||
trailingSlash: true,
|
||||
};
|
||||
|
||||
export default nextConfig;
|
||||
|
||||
Reference in New Issue
Block a user