Skip to content

Commit

Permalink
fix(generate): fix scripts error
Browse files Browse the repository at this point in the history
  • Loading branch information
ygj6 committed Jun 22, 2021
1 parent 969bb8b commit 5e01ce2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/generate/genePackageJson.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export function genePackageJson (packageJsonPath: string): void {

// add vite dev script
packageJson.scripts['serve-vite'] = 'vite'
packageJson.scripts['build-vite'] = 'build vite'
packageJson.scripts['build-vite'] = 'vite build'

writeSync(packageJsonPath, JSON.stringify(packageJson, null, 2))
}

0 comments on commit 5e01ce2

Please sign in to comment.