@sveltejs/vite-plugin-svelte 7.1.2 → 7.1.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sveltejs/vite-plugin-svelte",
3
- "version": "7.1.2",
3
+ "version": "7.1.3",
4
4
  "license": "MIT",
5
5
  "files": [
6
6
  "src",
@@ -115,7 +115,10 @@ export function svelteInspector(api) {
115
115
  }
116
116
  },
117
117
  transform: {
118
- filter: { id: /vite\/dist\/client\/client\.mjs(?:\?|$)/ },
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;