mirror of
https://github.com/woodchen-ink/md-wechat.git
synced 2025-07-18 13:42:02 +08:00
style: prettify code
This commit is contained in:
parent
070902093a
commit
bb43983079
@ -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, 2);
|
||||
|
||||
fs.writeFile("./src/manifest.json", result, function (err) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user