feat: use import maps instead of deps files (#209)

This commit updates fresh to use import maps instead of deps files in generated projects.
This commit is contained in:
Luca Casonato
2022-05-23 19:35:15 +02:00
committed by GitHub
parent fd1346ed6b
commit 80598d07fd
71 changed files with 188 additions and 141 deletions
+8
View File
@@ -0,0 +1,8 @@
{
".": "THIS FILE EXISTS ONLY FOR VSCODE! IT IS NOT USED AT RUNTIME.",
"imports": {
"$fresh/": "../",
"$twind": "https://esm.sh/twind@0.16.16",
"$twind/": "https://esm.sh/twind@0.16.16/"
}
}
+2 -1
View File
@@ -1,4 +1,5 @@
{
"deno.enable": true,
"deno.lint": true
"deno.lint": true,
"deno.importMap": "./.vscode/import_map.json"
}