try change config

This commit is contained in:
Nikita
2024-08-27 15:00:29 +03:00
parent 50d7073363
commit ba92771c40

View File

@@ -1,7 +1,17 @@
// not sure if good approach
const TAURI_DEV = true
/** @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",