fix vite and solid in dev
Inclusion of @astrojs/markdown-remark caused errors that cause solid and vite to fail to load in dev. It's stripped in build.
This commit is contained in:
parent
7f3b6795a6
commit
492200a42b
5 changed files with 7 additions and 18 deletions
|
|
@ -1,7 +1,7 @@
|
|||
---
|
||||
import DocsLayout from "@layouts/DocsLayout.astro";
|
||||
import { generateTypeData } from "@config/io/generateTypeData";
|
||||
import { processQsMarkdown } from "@src/config/io/helpers";
|
||||
import { processMarkdown } from "@src/config/io/markdown";
|
||||
|
||||
export async function getStaticPaths() {
|
||||
const routes = await generateTypeData();
|
||||
|
|
@ -26,7 +26,7 @@ export async function getStaticPaths() {
|
|||
}
|
||||
const { route, children } = Astro.props;
|
||||
const details = route.data.details
|
||||
? await processQsMarkdown(route.data.details)
|
||||
? await processMarkdown(route.data.details)
|
||||
: null;
|
||||
---
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue