From 1ef2fe65d88ff9ae71cb26087447ba91a129355d Mon Sep 17 00:00:00 2001 From: huseeiin Date: Tue, 27 Jan 2026 18:40:28 +0300 Subject: [PATCH 1/2] nitro v2: set noExternals to false to avoid bundling native stuff --- packages/start-nitro-v2-vite-plugin/src/index.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/start-nitro-v2-vite-plugin/src/index.ts b/packages/start-nitro-v2-vite-plugin/src/index.ts index 03d1934bb..846400a9e 100644 --- a/packages/start-nitro-v2-vite-plugin/src/index.ts +++ b/packages/start-nitro-v2-vite-plugin/src/index.ts @@ -91,6 +91,7 @@ export function nitroV2Plugin(nitroConfig?: UserNitroConfig): PluginOption { baseURL: "/", }, ], + noExternals: false, renderer: virtualEntry, rollupConfig: { ...nitroConfig?.rollupConfig, From 7f71b4608ece2375d2ffd8f7c42afb7f3b8fd180 Mon Sep 17 00:00:00 2001 From: huseeiin Date: Tue, 27 Jan 2026 18:51:00 +0300 Subject: [PATCH 2/2] add changeset --- .changeset/tricky-hounds-relate.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/tricky-hounds-relate.md diff --git a/.changeset/tricky-hounds-relate.md b/.changeset/tricky-hounds-relate.md new file mode 100644 index 000000000..9369c796d --- /dev/null +++ b/.changeset/tricky-hounds-relate.md @@ -0,0 +1,5 @@ +--- +"@solidjs/vite-plugin-nitro-2": minor +--- + +needed to avoid weird issues like Cannot resolve "@tailwindcss/oxide-android-arm64/package.json"