Skip to content

Commit 64b0c2c

Browse files
huseeiinbrenelz
andauthored
nitro v2: set noExternals to false to avoid bundling native stuff (#2056)
Co-authored-by: Brenley Dueck <brenleydueck@gmail.com>
1 parent c6a33a2 commit 64b0c2c

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.changeset/tricky-hounds-relate.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@solidjs/vite-plugin-nitro-2": minor
3+
---
4+
5+
needed to avoid weird issues like Cannot resolve "@tailwindcss/oxide-android-arm64/package.json"

packages/start-nitro-v2-vite-plugin/src/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ export function nitroV2Plugin(nitroConfig?: UserNitroConfig): PluginOption {
9191
baseURL: "/",
9292
},
9393
],
94+
noExternals: false,
9495
renderer: virtualEntry,
9596
rollupConfig: {
9697
...nitroConfig?.rollupConfig,

0 commit comments

Comments
 (0)