refactor: ♻️ use import map path for imports
This commit is contained in:
parent
c1eeb42f21
commit
d62305ac1d
|
@ -1,5 +1,5 @@
|
||||||
import { RouteContext } from '$fresh/server.ts'
|
import { RouteContext } from '$fresh/server.ts'
|
||||||
import { BlogPost } from ':components/BlogCard.tsx'
|
import { BlogPost } from ':components/BlogBlocks.tsx'
|
||||||
import { fetchNews } from ':src/blog/mod.ts'
|
import { fetchNews } from ':src/blog/mod.ts'
|
||||||
|
|
||||||
export default async function Blog(_req: Request, { params }: RouteContext) {
|
export default async function Blog(_req: Request, { params }: RouteContext) {
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import { BlogProps } from ':components/BlogCard.tsx'
|
import { BlogProps } from ':components/BlogBlocks.tsx'
|
||||||
import { NewsFrontMatter } from ':src/blog/types.ts'
|
import { NewsFrontMatter } from ':src/blog/types.ts'
|
||||||
import { base64ToString } from ':src/utils.ts'
|
import { base64ToString } from ':src/utils.ts'
|
||||||
import { extract } from '@std/front-matter/yaml'
|
import { extract } from '@std/front-matter/yaml'
|
||||||
|
|
Loading…
Reference in a new issue