Skip to content

Commit 9e8ac0c

Browse files
chore(playground): save tsconfig.json to the root directory; update Node.js version requirement (#9086)
Co-authored-by: Haoqun Jiang <[email protected]>
1 parent 3648498 commit 9e8ac0c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Diff for: packages/sfc-playground/src/download/download.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export async function downloadProject(store: ReplStore) {
2727

2828
const files = store.getFiles()
2929
for (const file in files) {
30-
if (file !== 'import-map.json') {
30+
if (file !== 'import-map.json' && file !== 'tsconfig.json') {
3131
src.file(file, files[file])
3232
} else {
3333
zip.file(file, files[file])

Diff for: packages/sfc-playground/src/download/template/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Vite Vue Starter
22

3-
This is a project template using [Vite](https://vitejs.dev/). It requires [Node.js](https://nodejs.org) v12+.
3+
This is a project template using [Vite](https://vitejs.dev/). It requires [Node.js](https://nodejs.org) version 18+, 20+.
44

55
To start:
66

0 commit comments

Comments
 (0)