mirror of
https://github.com/doocs/md.git
synced 2024-11-25 03:18:36 +08:00
fix: JSON format
This commit is contained in:
parent
ee1dc69de2
commit
3d169ffe7e
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user