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
+5 -10
View File
@@ -1,16 +1,11 @@
/** @jsx h */
/** @jsxFrag Fragment */
import {
apply,
asset,
Fragment,
h,
Head,
PageProps,
tw,
} from "../../deps.client.ts";
import { frontMatter, gfm, Handlers } from "../../deps.server.ts";
import { Fragment, h, Head, PageProps } from "$fresh/runtime.ts";
import { Handlers } from "$fresh/server.ts";
import { apply, tw } from "../../utils/twind.ts";
import { frontMatter, gfm } from "../../utils/markdown.ts";
import DocsSidebar from "../../components/DocsSidebar.tsx";
import Footer from "../../components/Footer.tsx";
import NavigationBar from "../../components/NavigationBar.tsx";