@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
@@ -12,7 +12,7 @@ import { svelte } from '@sveltejs/vite-plugin-svelte';
12
12
  export default defineConfig({
13
13
  plugins: [
14
14
  svelte({
15
- /* plugin options */
15
+ // plugin options
16
16
  })
17
17
  ]
18
18
  });
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.4",
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;
@@ -366,6 +366,9 @@
366
366
  :global(.svelte-inspector-active-target) {
367
367
  outline: 2px dashed #ff3e00 !important;
368
368
  }
369
+ :global(#svelte-inspector-host) {
370
+ direction: ltr;
371
+ }
369
372
 
370
373
  #svelte-inspector-overlay {
371
374
  position: fixed;