From fbb4b15971775b0f973f6566d5408c917d312c79 Mon Sep 17 00:00:00 2001 From: Lncvrt Date: Sat, 14 Feb 2026 14:56:39 -0700 Subject: [PATCH] Switch to ES2024 and `webpack` (for dev mode only) --- src-tauri/tauri.conf.json | 2 +- src-tauri/tauri.linux.conf.json | 2 +- src-tauri/tauri.macos.conf.json | 2 +- src-tauri/tauri.windows.conf.json | 2 +- tsconfig.json | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index 1744b97..3f596f2 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -4,7 +4,7 @@ "version": "1.5.8", "identifier": "xyz.lncvrt.games-launcher", "build": { - "beforeDevCommand": "next dev", + "beforeDevCommand": "next dev --webpack", "devUrl": "http://localhost:3000", "beforeBuildCommand": "next build", "frontendDist": "../out" diff --git a/src-tauri/tauri.linux.conf.json b/src-tauri/tauri.linux.conf.json index 1744b97..3f596f2 100644 --- a/src-tauri/tauri.linux.conf.json +++ b/src-tauri/tauri.linux.conf.json @@ -4,7 +4,7 @@ "version": "1.5.8", "identifier": "xyz.lncvrt.games-launcher", "build": { - "beforeDevCommand": "next dev", + "beforeDevCommand": "next dev --webpack", "devUrl": "http://localhost:3000", "beforeBuildCommand": "next build", "frontendDist": "../out" diff --git a/src-tauri/tauri.macos.conf.json b/src-tauri/tauri.macos.conf.json index 6c9ffb9..f9af7b7 100644 --- a/src-tauri/tauri.macos.conf.json +++ b/src-tauri/tauri.macos.conf.json @@ -4,7 +4,7 @@ "version": "1.5.8", "identifier": "xyz.lncvrt.games-launcher", "build": { - "beforeDevCommand": "next dev", + "beforeDevCommand": "next dev --webpack", "devUrl": "http://localhost:3000", "beforeBuildCommand": "next build", "frontendDist": "../out" diff --git a/src-tauri/tauri.windows.conf.json b/src-tauri/tauri.windows.conf.json index 0048ac4..0b376d2 100644 --- a/src-tauri/tauri.windows.conf.json +++ b/src-tauri/tauri.windows.conf.json @@ -4,7 +4,7 @@ "version": "1.5.8", "identifier": "xyz.lncvrt.games-launcher", "build": { - "beforeDevCommand": "next dev", + "beforeDevCommand": "next dev --webpack", "devUrl": "http://localhost:3000", "beforeBuildCommand": "next build", "frontendDist": "../out" diff --git a/tsconfig.json b/tsconfig.json index be82c5e..7a39fe4 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,6 +1,6 @@ { "compilerOptions": { - "target": "ES2017", + "target": "es2024", "lib": ["dom", "dom.iterable", "esnext"], "allowJs": true, "skipLibCheck": true,