Initial commit
This commit is contained in:
35 files changed
+1262
No files matched your search
@@ -0,0 +1,16 @@
|
||||
import type { NextConfig } from "next";
|
||||
|
||||
const isProd = process.env.NODE_ENV === 'production'
|
||||
const internalHost = process.env.TAURI_DEV_HOST || 'localhost'
|
||||
const nextConfig: NextConfig = {
|
||||
output: 'export',
|
||||
images: {
|
||||
unoptimized: true
|
||||
},
|
||||
assetPrefix: isProd ? undefined : `http://${internalHost}:3000`,
|
||||
devIndicators: false,
|
||||
reactStrictMode: false,
|
||||
reactCompiler: true
|
||||
};
|
||||
|
||||
export default nextConfig;
|
||||
Reference in new issue
Block a user