forked from mystiq/hydrogen-web
add newlines to config file when rewriting with theme stuff
This commit is contained in:
parent
7a197c0a1a
commit
f21e103270
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@ function addThemesToConfig(bundle, manifestLocations, defaultThemes) {
|
||||||
const config = JSON.parse(source);
|
const config = JSON.parse(source);
|
||||||
config["themeManifests"] = manifestLocations;
|
config["themeManifests"] = manifestLocations;
|
||||||
config["defaultTheme"] = defaultThemes;
|
config["defaultTheme"] = defaultThemes;
|
||||||
info.source = new TextEncoder().encode(JSON.stringify(config));
|
info.source = new TextEncoder().encode(JSON.stringify(config, undefined, 2));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue