This commit is contained in:
Nikita
2024-08-27 16:08:47 +03:00
parent ba92771c40
commit e38c10af6b
33 changed files with 242 additions and 5 deletions

View File

@@ -1,14 +1,14 @@
// not sure if good approach
const TAURI_DEV = true
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
},
// typescript: {
// // TODO: hacky for tauri
// ignoreBuildErrors: TAURI_DEV ? true : false
// },
images: {
// TODO: hacky for tauri
unoptimized: TAURI_DEV ? true : false,