diff --git a/bun.lockb b/bun.lockb index c81ea78..5b0c885 100755 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/package.json b/package.json index 23eb8af..c9c04c1 100644 --- a/package.json +++ b/package.json @@ -76,5 +76,8 @@ "packageManager": "bun@1.1.34", "trustedDependencies": [ "edgedriver" - ] + ], + "patchedDependencies": { + "@suid/vite-plugin@0.3.1": "patches/@suid%2Fvite-plugin@0.3.1.patch" + } } diff --git a/patches/@suid%2Fvite-plugin@0.3.1.patch b/patches/@suid%2Fvite-plugin@0.3.1.patch new file mode 100644 index 0000000..1464609 --- /dev/null +++ b/patches/@suid%2Fvite-plugin@0.3.1.patch @@ -0,0 +1,15 @@ +diff --git a/index.mjs b/index.mjs +index 2cf42b9506e130fcc9c1ca166d03d3d8b9b5781c..7dc283602ff09b94c6300f45eac223125eebeb46 100644 +--- a/index.mjs ++++ b/index.mjs +@@ -2,8 +2,8 @@ import $generate from "@babel/generator"; + import { parse } from "@babel/parser"; + import $traverse from "@babel/traverse"; + import * as types from "@babel/types"; +-const traverse = $traverse.default; +-const generate = $generate.default; ++const traverse = $traverse.default ?? $traverse; ++const generate = $generate.default ?? $generate; + const defaultOptions = { + disableOptimizeDeps: [ + "@suid/base",