mirror of
https://github.com/linsa-io/linsa.git
synced 2026-01-12 12:20:23 +01:00
try change config
This commit is contained in:
@@ -1,7 +1,17 @@
|
|||||||
|
// not sure if good approach
|
||||||
|
const TAURI_DEV = true
|
||||||
|
|
||||||
/** @type {import('next').NextConfig} */
|
/** @type {import('next').NextConfig} */
|
||||||
const nextConfig = {
|
const nextConfig = {
|
||||||
reactStrictMode: false,
|
reactStrictMode: false,
|
||||||
|
output: TAURI_DEV ? "export" : undefined,
|
||||||
|
typescript: {
|
||||||
|
// TODO: hacky for tauri
|
||||||
|
ignoreBuildErrors: TAURI_DEV ? true : false
|
||||||
|
},
|
||||||
images: {
|
images: {
|
||||||
|
// TODO: hacky for tauri
|
||||||
|
unoptimized: TAURI_DEV ? true : false,
|
||||||
remotePatterns: [
|
remotePatterns: [
|
||||||
{
|
{
|
||||||
protocol: "https",
|
protocol: "https",
|
||||||
|
|||||||
Reference in New Issue
Block a user