Skip to content

Commit 9c7a331

Browse files
authored
fix(create-vite): remove baseUrl from Svelte configs (#10200)
1 parent 9a83eaf commit 9c7a331

File tree

4 files changed

+0
-4
lines changed

4 files changed

+0
-4
lines changed

packages/create-vite/template-svelte-ts/README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ Check out [SvelteKit](https://github.com/sveltejs/kit#readme), which is also pow
1616

1717
- It brings its own routing solution which might not be preferable for some users.
1818
- It is first and foremost a framework that just happens to use Vite under the hood, not a Vite app.
19-
`vite dev` and `vite build` wouldn't work in a SvelteKit environment, for example.
2019

2120
This template contains as little as possible to get started with Vite + TypeScript + Svelte, while taking into account the developer experience with regards to HMR and intellisense. It demonstrates capabilities on par with the other `create-vite` templates and is a good starting point for beginners dipping their toes into a Vite + Svelte project.
2221

packages/create-vite/template-svelte-ts/tsconfig.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
"useDefineForClassFields": true,
66
"module": "ESNext",
77
"resolveJsonModule": true,
8-
"baseUrl": ".",
98
/**
109
* Typecheck JS in `.svelte` and `.js` files by default.
1110
* Disable checkJs if you'd like to use dynamic types in JS.

packages/create-vite/template-svelte/README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ Check out [SvelteKit](https://github.com/sveltejs/kit#readme), which is also pow
1616

1717
- It brings its own routing solution which might not be preferable for some users.
1818
- It is first and foremost a framework that just happens to use Vite under the hood, not a Vite app.
19-
`vite dev` and `vite build` wouldn't work in a SvelteKit environment, for example.
2019

2120
This template contains as little as possible to get started with Vite + Svelte, while taking into account the developer experience with regards to HMR and intellisense. It demonstrates capabilities on par with the other `create-vite` templates and is a good starting point for beginners dipping their toes into a Vite + Svelte project.
2221

packages/create-vite/template-svelte/jsconfig.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
"esModuleInterop": true,
2020
"skipLibCheck": true,
2121
"forceConsistentCasingInFileNames": true,
22-
"baseUrl": ".",
2322
/**
2423
* Typecheck JS in `.svelte` and `.js` files by default.
2524
* Disable this if you'd like to use dynamic types.

0 commit comments

Comments
 (0)