fix: fix packages/vue/package.json format error when execute pnpm dev or pnpm build:ui command (#387)
This commit is contained in:
parent
159fd4fc47
commit
c1d78fda3b
|
@ -90,7 +90,7 @@ const createEntry = (mode) => {
|
|||
if (mode === 'all') {
|
||||
// 重写package.json, 并格式化
|
||||
PKGContent.dependencies = PKGDeps
|
||||
fs.writeFileSync(PKG_PATH, JSON.stringify(PKGContent, null, '\t'))
|
||||
fs.writeFileSync(PKG_PATH, JSON.stringify(PKGContent, null, 2))
|
||||
}
|
||||
|
||||
const template = handlebarsRender({
|
||||
|
|
Loading…
Reference in New Issue