Skip to content

Commit

Permalink
chore(playground): save tsconfig.json to the root directory; update…
Browse files Browse the repository at this point in the history
… Node.js version requirement (#9086)

Co-authored-by: Haoqun Jiang <[email protected]>
  • Loading branch information
Alfred-Skyblue and haoqunjiang authored Mar 12, 2024
1 parent 3648498 commit 9e8ac0c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/sfc-playground/src/download/download.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export async function downloadProject(store: ReplStore) {

const files = store.getFiles()
for (const file in files) {
if (file !== 'import-map.json') {
if (file !== 'import-map.json' && file !== 'tsconfig.json') {
src.file(file, files[file])
} else {
zip.file(file, files[file])
Expand Down
2 changes: 1 addition & 1 deletion packages/sfc-playground/src/download/template/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Vite Vue Starter

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

To start:

Expand Down

0 comments on commit 9e8ac0c

Please sign in to comment.