@sveltejs/vite-plugin-svelte 7.1.2 → 7.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md
CHANGED
package/package.json
CHANGED
|
@@ -115,7 +115,10 @@ export function svelteInspector(api) {
|
|
|
115
115
|
}
|
|
116
116
|
},
|
|
117
117
|
transform: {
|
|
118
|
-
|
|
118
|
+
// Vite+ projects install vite@npm:@voidzero-dev/vite-plus-core@latest which
|
|
119
|
+
// changes the path from `vite/dist/client/client.mjs` to `vite/dist/vite/client/client.mjs`
|
|
120
|
+
// so we need to also account for the additional `vite` subdirectory
|
|
121
|
+
filter: { id: /vite\/dist\/(?:vite\/)?client\/client\.mjs(?:\?|$)/ },
|
|
119
122
|
handler(code) {
|
|
120
123
|
if (disabled) {
|
|
121
124
|
return;
|