diff --git a/prebuild-minify.js b/prebuild-minify.js index 531956a3..5051f0be 100644 --- a/prebuild-minify.js +++ b/prebuild-minify.js @@ -24,8 +24,8 @@ const recursiveMinify = (dirPath) => { let filePath = dirPath + '/' + files[i]; if (fs.statSync(filePath).isFile()) { - // Grid.json is a massive file that's already pre-minified. Do not process. - if (filePath.endsWith("grid.json")) return; + // Do not process grid.json because it's heavy and pre-minified, and themes and keyboard files to leave them in a human-readable state + if (filePath.endsWith(".json")) return; switch (filePath.split(".").pop()) { case "js": diff --git a/src/_boot.js b/src/_boot.js index 09b77067..07bf9575 100644 --- a/src/_boot.js +++ b/src/_boot.js @@ -58,7 +58,7 @@ if (!fs.existsSync(settingsFile)) { keyboard: "en-US", theme: "tron", audio: false - })); + }, 4)); } // Copy default themes & keyboard layouts & fonts