feat: prebundle code + restore from snapshot (#1604)

This commit is contained in:
Marvin Hagemeister
2023-08-16 16:47:51 +02:00
committed by GitHub
parent f67ec8520f
commit 477364c567
29 changed files with 500 additions and 28 deletions
+10
View File
@@ -88,6 +88,16 @@ if (!denoJson.lint.rules.tags.includes("recommended")) {
denoJson.lint.rules.tags.push("recommended");
}
if (!denoJson.tasks) {
denoJson.tasks = {};
}
if (!denoJson.tasks.build) {
denoJson.tasks.build = "deno run -A dev.ts build";
}
if (!denoJson.tasks.preview) {
denoJson.tasks.preview = "deno run -A main.ts";
}
freshImports(denoJson.imports);
if (denoJson.imports["twind"]) {
twindImports(denoJson.imports);