improve dependency management (#770)

* use import_map.json instead of per-file import

* remove test_deps.ts in favor of import_map

* remove common/deps.ts in favor of import_map

* use import_map instead of server/deps.ts

* make all plug-api files usable without an import_map

* make all lib files usable without an import_map

* remove web/deps.ts in favor of import_map

* fix plug build

* remove plug-api/deps.ts in favor of lib/deps.ts

* fix server deps bundled in client deps
This commit is contained in:
Maks
2024-03-16 15:29:24 +01:00
committed by GitHub
parent 22b0f13270
commit 8a3782e946
163 changed files with 575 additions and 748 deletions
+3 -3
View File
@@ -1,6 +1,6 @@
import { walk } from "https://deno.land/std@0.165.0/fs/mod.ts";
import { resolve } from "https://deno.land/std@0.165.0/path/mod.ts";
import { mime } from "https://deno.land/x/mimetypes@v1.0.0/mod.ts";
import { walk } from "$std/fs/walk.ts";
import { resolve } from "$std/path/mod.ts";
import { mime } from "mimetypes";
import { FileMeta } from "../plug-api/types.ts";
const rootDir = resolve("website_build");