Skip to content

Commit 27e66a8

Browse files
author
Guillaume Chau
committed
fix(ui): pwa config: manifest.json indentation
1 parent 0f30639 commit 27e66a8

File tree

1 file changed

+1
-1
lines changed
  • packages/@vue/cli-plugin-pwa

1 file changed

+1
-1
lines changed

packages/@vue/cli-plugin-pwa/ui.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ function updateAppManifest (cwd, handler) {
1818
try {
1919
const manifest = JSON.parse(fs.readFileSync(manifestPath, { encoding: 'utf8' }))
2020
handler(manifest)
21-
fs.writeFileSync(manifestPath, JSON.stringify(manifest), { encoding: 'utf8' })
21+
fs.writeFileSync(manifestPath, JSON.stringify(manifest, null, 2), { encoding: 'utf8' })
2222
} catch (e) {
2323
console.log(`Can't update JSON in ${manifestPath}`)
2424
}

0 commit comments

Comments
 (0)