Skip to content

Commit

Permalink
fix(create-rsbuild): remove Svelte 4 template (#4182)
Browse files Browse the repository at this point in the history
  • Loading branch information
chenjiahan authored Dec 12, 2024
1 parent fc44719 commit 34b1896
Show file tree
Hide file tree
Showing 16 changed files with 2 additions and 165 deletions.
2 changes: 1 addition & 1 deletion examples/svelte/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@examples/svelte5",
"name": "@examples/svelte",
"private": true,
"scripts": {
"dev": "rsbuild dev --open",
Expand Down
3 changes: 1 addition & 2 deletions packages/create-rsbuild/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,7 @@ async function getTemplateName({ template }: Argv) {
{ value: 'vue2', label: 'Vue 2' },
{ value: 'lit', label: 'Lit' },
{ value: 'preact', label: 'Preact' },
{ value: 'svelte', label: 'Svelte 5' },
{ value: 'svelte4', label: 'Svelte 4' },
{ value: 'svelte', label: 'Svelte' },
{ value: 'solid', label: 'Solid' },
],
}),
Expand Down
17 changes: 0 additions & 17 deletions packages/create-rsbuild/template-svelte4-js/package.json

This file was deleted.

This file was deleted.

28 changes: 0 additions & 28 deletions packages/create-rsbuild/template-svelte4-js/src/App.svelte

This file was deleted.

6 changes: 0 additions & 6 deletions packages/create-rsbuild/template-svelte4-js/src/index.css

This file was deleted.

8 changes: 0 additions & 8 deletions packages/create-rsbuild/template-svelte4-js/src/index.js

This file was deleted.

20 changes: 0 additions & 20 deletions packages/create-rsbuild/template-svelte4-ts/package.json

This file was deleted.

6 changes: 0 additions & 6 deletions packages/create-rsbuild/template-svelte4-ts/rsbuild.config.ts

This file was deleted.

28 changes: 0 additions & 28 deletions packages/create-rsbuild/template-svelte4-ts/src/App.svelte

This file was deleted.

2 changes: 0 additions & 2 deletions packages/create-rsbuild/template-svelte4-ts/src/env.d.ts

This file was deleted.

6 changes: 0 additions & 6 deletions packages/create-rsbuild/template-svelte4-ts/src/index.css

This file was deleted.

8 changes: 0 additions & 8 deletions packages/create-rsbuild/template-svelte4-ts/src/index.ts

This file was deleted.

25 changes: 0 additions & 25 deletions packages/create-rsbuild/template-svelte4-ts/tsconfig.json

This file was deleted.

1 change: 0 additions & 1 deletion website/docs/en/guide/start/quick-start.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ When creating a project, you can choose from the following templates provided by
| lit | [Lit](https://lit.dev/) | TypeScript |
| preact | [Preact](https://preactjs.com/) | TypeScript |
| svelte | [Svelte 5](https://svelte.dev/) | TypeScript |
| svelte4 | [Svelte 4](https://svelte.dev/) | TypeScript |
| solid | [Solid](https://solidjs.com/) | TypeScript |

### Optional Tools
Expand Down
1 change: 0 additions & 1 deletion website/docs/zh/guide/start/quick-start.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@ import { PackageManagerTabs } from '@theme';
| lit | [Lit](https://lit.dev/) | TypeScript |
| preact | [Preact](https://preactjs.com/) | TypeScript |
| svelte | [Svelte 5](https://svelte.dev/) | TypeScript |
| svelte4 | [Svelte 4](https://svelte.dev/) | TypeScript |
| solid | [Solid](https://solidjs.com/) | TypeScript |

### 可选工具
Expand Down

0 comments on commit 34b1896

Please sign in to comment.