forked from Berry-Dash/launcher
Move to NextJS + other changes
This commit is contained in:
14
next.config.ts
Normal file
14
next.config.ts
Normal file
@@ -0,0 +1,14 @@
|
||||
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
|
||||
}
|
||||
|
||||
export default nextConfig
|
||||
Reference in New Issue
Block a user