Skip to content

Commit 253e271

Browse files
committed
attempt to fix build
1 parent fc247c5 commit 253e271

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/desktop_cd.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ env:
1212
CN_APPLICATION: "fastrepl/hyprnote"
1313
RELEASE_CHANNEL: ${{ (github.event_name == 'release' && github.event.release.tag_name != '') && 'nightly' || (github.event_name == 'workflow_dispatch' && startsWith(github.ref, 'refs/tags/')) && 'stable' || 'staging' }}
1414
TAURI_CONF_PATH: ${{ (github.event_name == 'release' && github.event.release.tag_name != '') && './src-tauri/tauri.conf.nightly.json' || (github.event_name == 'workflow_dispatch' && startsWith(github.ref, 'refs/tags/')) && './src-tauri/tauri.conf.stable.json' || './src-tauri/tauri.conf.staging.json' }}
15+
NODE_OPTIONS: "--max-old-space-size=4096"
1516

1617
jobs:
1718
build:

apps/desktop/vite.config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import path from "path";
22

33
import { lingui } from "@lingui/vite-plugin";
4-
import { TanStackRouterVite } from "@tanstack/router-plugin/vite";
4+
import { tanstackRouter } from "@tanstack/router-plugin/vite";
55
import react from "@vitejs/plugin-react";
66
import { defineConfig, type UserConfig } from "vite";
77
import { DynamicPublicDirectory } from "vite-multiple-assets";
@@ -31,7 +31,7 @@ export default defineConfig(async () => ({
3131
},
3232
),
3333
lingui(),
34-
TanStackRouterVite({ target: "react", autoCodeSplitting: false }),
34+
tanstackRouter({ target: "react", autoCodeSplitting: false }),
3535
react({
3636
babel: {
3737
plugins: ["@lingui/babel-plugin-lingui-macro"],

0 commit comments

Comments
 (0)