Skip to content

Commit

Permalink
fix build by pnpm adding @sveltejs/vite-plugin-svelte and removing im…
Browse files Browse the repository at this point in the history
…portsNotUsedAsValues from tsconfig.json
  • Loading branch information
janosh committed Jan 22, 2024
1 parent a79f669 commit d12fb03
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
"@sveltejs/adapter-static": "^3.0.1",
"@sveltejs/kit": "^2.4.1",
"@sveltejs/package": "^2.2.6",
"@sveltejs/vite-plugin-svelte": "^3.0.1",
"@typescript-eslint/eslint-plugin": "^6.19.0",
"@typescript-eslint/parser": "^6.19.0",
"@vitest/coverage-v8": "^1.2.1",
Expand Down
4 changes: 0 additions & 4 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,6 @@
"target": "esnext",
"moduleResolution": "bundler",

// Svelte Preprocess cannot figure out whether you have a value or a type, so tell TypeScript
// to enforce using `import type` instead of `import` for Types.
"importsNotUsedAsValues": "error",

// To have warnings/errors of the Svelte compiler at the correct position,
// enable source maps by default.
"sourceMap": true,
Expand Down

0 comments on commit d12fb03

Please sign in to comment.