We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent df88d13 commit 772f1b6Copy full SHA for 772f1b6
packages/create-vite/src/index.ts
@@ -371,7 +371,7 @@ async function init() {
371
372
pkg.name = packageName || getProjectName()
373
374
- write('package.json', JSON.stringify(pkg, null, 2))
+ write('package.json', JSON.stringify(pkg, null, 2) + '\n')
375
376
if (isReactSwc) {
377
setupReactSwc(root, template.endsWith('-ts'))
0 commit comments