From 3d169ffe7e70ca16b90292eaef3366c1db2c3554 Mon Sep 17 00:00:00 2001 From: jimqing Date: Sun, 28 Feb 2021 16:20:26 +0800 Subject: [PATCH] fix: JSON format --- vue.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vue.config.js b/vue.config.js index ba4ea00..cdb266e 100644 --- a/vue.config.js +++ b/vue.config.js @@ -9,7 +9,7 @@ function writeManifestJson() { manifest.h5.publicPath = process.env.SERVER_ENV !== "NETLIFY" ? "/md/" : "/"; - const result = JSON.stringify(manifest, null, 4); + const result = JSON.stringify(manifest, null, 2); fs.writeFile("./src/manifest.json", result, function (err) { if (err) {