We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0f30639 commit 27e66a8Copy full SHA for 27e66a8
packages/@vue/cli-plugin-pwa/ui.js
@@ -18,7 +18,7 @@ function updateAppManifest (cwd, handler) {
18
try {
19
const manifest = JSON.parse(fs.readFileSync(manifestPath, { encoding: 'utf8' }))
20
handler(manifest)
21
- fs.writeFileSync(manifestPath, JSON.stringify(manifest), { encoding: 'utf8' })
+ fs.writeFileSync(manifestPath, JSON.stringify(manifest, null, 2), { encoding: 'utf8' })
22
} catch (e) {
23
console.log(`Can't update JSON in ${manifestPath}`)
24
}
0 commit comments