16 lines
393 B
TypeScript
16 lines
393 B
TypeScript
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
|
|
}
|
|
|
|
export default nextConfig
|