From ee1dc69de2092afd355d464a2bf9563151e30437 Mon Sep 17 00:00:00 2001 From: yanglbme Date: Sun, 28 Feb 2021 07:39:35 +0000 Subject: [PATCH] style: prettify code --- vue.config.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/vue.config.js b/vue.config.js index 660c691..ba4ea00 100644 --- a/vue.config.js +++ b/vue.config.js @@ -7,7 +7,8 @@ function writeManifestJson() { const strData = data.toString(); const manifest = JSON.parse(strData); - manifest.h5.publicPath = process.env.SERVER_ENV !== 'NETLIFY' ? "/md/": "/"; + manifest.h5.publicPath = + process.env.SERVER_ENV !== "NETLIFY" ? "/md/" : "/"; const result = JSON.stringify(manifest, null, 4); fs.writeFile("./src/manifest.json", result, function (err) {