@sveltejs/vite-plugin-svelte 1.0.8 → 1.0.9

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": "1.0.8",
3
+ "version": "1.0.9",
4
4
  "license": "MIT",
5
5
  "author": "dominikg",
6
6
  "files": [
@@ -45,7 +45,7 @@
45
45
  "debug": "^4.3.4",
46
46
  "deepmerge": "^4.2.2",
47
47
  "kleur": "^4.1.5",
48
- "magic-string": "^0.26.3",
48
+ "magic-string": "^0.26.5",
49
49
  "svelte-hmr": "^0.15.0"
50
50
  },
51
51
  "peerDependencies": {
@@ -62,11 +62,11 @@
62
62
  "@types/debug": "^4.1.7",
63
63
  "@types/diff-match-patch": "^1.0.32",
64
64
  "diff-match-patch": "^1.0.5",
65
- "esbuild": "^0.15.8",
66
- "rollup": "^2.79.0",
65
+ "esbuild": "^0.15.10",
66
+ "rollup": "^2.79.1",
67
67
  "svelte": "^3.50.1",
68
68
  "tsup": "^6.2.3",
69
- "vite": "^3.1.2"
69
+ "vite": "^3.1.4"
70
70
  },
71
71
  "scripts": {
72
72
  "dev": "pnpm build:ci --sourcemap --watch src",
@@ -23,6 +23,7 @@ function createViteScriptPreprocessor(): Preprocessor {
23
23
  if (!supportedScriptLangs.includes(lang)) return;
24
24
  const transformResult = await transformWithEsbuild(content, filename, {
25
25
  loader: lang as ESBuildOptions['loader'],
26
+ target: 'esnext',
26
27
  tsconfigRaw: {
27
28
  compilerOptions: {
28
29
  // svelte typescript needs this flag to work with type imports