Skip to content

Commit

Permalink
feat(create-vite): supports nested directory
Browse files Browse the repository at this point in the history
  • Loading branch information
pd4d10 committed Feb 3, 2022
1 parent ff37c03 commit 7064420
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/create-vite/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ async function init() {
if (overwrite) {
emptyDir(root)
} else if (!fs.existsSync(root)) {
fs.mkdirSync(root)
fs.mkdirSync(root, { recursive: true })
}

// determine template
Expand Down

0 comments on commit 7064420

Please sign in to comment.