diff options
Diffstat (limited to 'build.py')
| -rw-r--r-- | build.py | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -8,6 +8,9 @@ for name in inputs: config = tomllib.loads(files["config.toml"]) configjson = json.dumps(config, separators=(',',':')) +with open("config.js","w") as f: + f.write("config="+configjson+";") + index = files["index.html"] index = index.replace('<link rel="stylesheet" href="style.css">', f'<style>{files["main.css"]}</style>') |
