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
+2
-2
@@ -47,11 +47,11 @@ export interface Manifest {
|
||||
>;
|
||||
islands: Record<string, IslandModule>;
|
||||
baseUrl: string;
|
||||
config?: DenoConfig;
|
||||
}
|
||||
|
||||
export interface DenoConfig {
|
||||
importMap: string;
|
||||
imports?: Record<string, string>;
|
||||
importMap?: string;
|
||||
compilerOptions?: {
|
||||
jsx?: string;
|
||||
jsxImportSource?: string;
|
||||
|
||||
Reference in New Issue
Block a user