Make ReactDevTools Opt-in

This commit is contained in:
Vendicated
2022-10-11 21:48:28 +02:00
parent 516f8c488a
commit 86eacea74d
4 changed files with 24 additions and 7 deletions

View File

@ -24,7 +24,7 @@ function readCss() {
return readFile(QUICKCSS_PATH, "utf-8").catch(() => "");
}
function readSettings() {
export function readSettings() {
try {
return readFileSync(SETTINGS_FILE, "utf-8");
} catch {