Skip to content

Commit

Permalink
Patch vite-plugin-solid
Browse files Browse the repository at this point in the history
  • Loading branch information
simonihmig committed Jan 19, 2025
1 parent e1452b3 commit ed0cee3
Show file tree
Hide file tree
Showing 3 changed files with 411 additions and 951 deletions.
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@
"@ember/test-helpers": "^4.0.4"
}
}
},
"patchedDependencies": {
"vite-plugin-solid": "patches/vite-plugin-solid.patch"
}
}
}
16 changes: 16 additions & 0 deletions patches/vite-plugin-solid.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
diff --git a/dist/esm/index.mjs b/dist/esm/index.mjs
index e065926b3da86406660aba987cb8226af9f0f8fd..bca68dfff42867a904d1be10938240ae459a8612 100644
--- a/dist/esm/index.mjs
+++ b/dist/esm/index.mjs
@@ -102,10 +102,7 @@ function solidPlugin(options = {}) {
include: [...nestedDeps, ...solidPkgsConfig.optimizeDeps.include],
exclude: solidPkgsConfig.optimizeDeps.exclude
},
- ssr: solidPkgsConfig.ssr,
- ...(test.server ? {
- test
- } : {})
+ ssr: solidPkgsConfig.ssr
};
},
// @ts-ignore This hook only works in Vite 6
Loading

0 comments on commit ed0cee3

Please sign in to comment.