fix: JSON format

This commit is contained in:
jimqing 2021-02-28 16:20:26 +08:00
parent ee1dc69de2
commit 3d169ffe7e

View File

@ -9,7 +9,7 @@ function writeManifestJson() {
manifest.h5.publicPath = manifest.h5.publicPath =
process.env.SERVER_ENV !== "NETLIFY" ? "/md/" : "/"; 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) { fs.writeFile("./src/manifest.json", result, function (err) {
if (err) { if (err) {