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,5 +1,5 @@
|
|||
---
|
||||
import { processQsMarkdown } from "@config/io/helpers"
|
||||
import { processMarkdown } from "@config/io/markdown"
|
||||
|
||||
export interface Props {
|
||||
markdown?: string,
|
||||
|
@ -7,7 +7,7 @@ export interface Props {
|
|||
|
||||
const { markdown } = Astro.props;
|
||||
|
||||
const html = markdown ? await processQsMarkdown(markdown) : null;
|
||||
const html = markdown ? await processMarkdown(markdown) : null;
|
||||
---
|
||||
<section class="typedata-details">
|
||||
{html ? <div class="typedata-detailsdata" set:html={html} /> : <em>No details provided</em>}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue