mirror of
https://github.com/linsa-io/linsa.git
synced 2026-01-12 12:20:23 +01:00
25 lines
475 B
JavaScript
25 lines
475 B
JavaScript
// not sure if good approach
|
|
const TAURI_DEV = false
|
|
|
|
/** @type {import('next').NextConfig} */
|
|
const nextConfig = {
|
|
reactStrictMode: false,
|
|
output: TAURI_DEV ? "export" : undefined,
|
|
// typescript: {
|
|
// // TODO: hacky for tauri
|
|
// ignoreBuildErrors: TAURI_DEV ? true : false
|
|
// },
|
|
images: {
|
|
// TODO: hacky for tauri
|
|
unoptimized: TAURI_DEV ? true : false,
|
|
remotePatterns: [
|
|
{
|
|
protocol: "https",
|
|
hostname: "**"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
|
|
export default nextConfig
|