feat: support embedded import map in deno.json (#1188)
One can now inline the `imports` and `scopes` from the import map directly into deno.json. For new projects, `import_map.json` is not generated anymore. Co-authored-by: Luca Casonato <hello@lcas.dev>
This commit is contained in:
co-authored by
Luca Casonato
parent
3857a49f1c
commit
1b6678951a
@@ -1,7 +1,9 @@
|
||||
// -- std --
|
||||
export {
|
||||
dirname,
|
||||
extname,
|
||||
fromFileUrl,
|
||||
join,
|
||||
toFileUrl,
|
||||
} from "https://deno.land/std@0.190.0/path/mod.ts";
|
||||
export { walk } from "https://deno.land/std@0.190.0/fs/walk.ts";
|
||||
@@ -17,6 +19,7 @@ export {
|
||||
} from "https://deno.land/std@0.190.0/media_types/mod.ts";
|
||||
export { toHashString } from "https://deno.land/std@0.190.0/crypto/to_hash_string.ts";
|
||||
export { escape } from "https://deno.land/std@0.190.0/regexp/escape.ts";
|
||||
export * as JSONC from "https://deno.land/std@0.190.0/jsonc/mod.ts";
|
||||
|
||||
// -- esbuild --
|
||||
// @deno-types="https://deno.land/x/esbuild@v0.17.11/mod.d.ts"
|
||||
|
||||
Reference in New Issue
Block a user