formatting, full migration to svelte-french-toast

This commit is contained in:
2023-04-26 22:47:42 +02:00
parent 38a665024e
commit 46d076af9d
137 changed files with 11984 additions and 9212 deletions

View File

@@ -1,5 +1,10 @@
import fs from 'fs';
const packagejson = JSON.parse(fs.readFileSync(`./package.json`, { encoding: 'utf-8' }));
const original = fs.readFileSync(`./index.html`, { encoding: 'utf-8' });
let out = original.replace(/RELEASE_INFO-(\S)+-RELEASE_INFO/gi, 'RELEASE_INFO-' + packagejson.version + '-RELEASE_INFO');
import fs from "fs";
const packagejson = JSON.parse(
fs.readFileSync(`./package.json`, { encoding: "utf-8" })
);
const original = fs.readFileSync(`./index.html`, { encoding: "utf-8" });
let out = original.replace(
/RELEASE_INFO-(\S)+-RELEASE_INFO/gi,
"RELEASE_INFO-" + packagejson.version + "-RELEASE_INFO"
);
fs.writeFileSync(`./index.html`, out);