Skip to content

Commit d40d45d

Browse files
force externals
1 parent d9088ee commit d40d45d

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

  • packages/plugin-vite/src

packages/plugin-vite/src/mod.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ export function fresh(config?: FreshViteConfig): Plugin[] {
3838
"react-dom": "preact/compat",
3939
react: "preact/compat",
4040
},
41+
noExternal: true,
4142
},
4243
optimizeDeps: {
4344
// Optmize deps somehow leads to duplicate modules or them

0 commit comments

Comments
 (0)