Clear and concise description of the problem
For now, the source map will ignore the markdown component. It will be better to have a source map with source of generated html or markdown better.
Suggested solution
Is this broken the source map?
export function createMarkdown(options: ResolvedOptions) {
...
return {
code,
map: { mappings: '' } as any,
}
}
(And the defined missing excerpt and frontmatter. It better to be:
declare module "*.md" {
import type { defineComponent, ComponentObjectPropsOptions, HTMLAttributes } from "vue";
const frontmatter: { [key: string]: string | typeof frontmatter | undefined };
const component: ReturnType<typeof defineComponent<HTMLAttributes, ComponentObjectPropsOptions, string, {}, {}, string, { excerpt?: string, frontmatter?: typeof frontmatter }>>;
export default component;
}
Validations
Clear and concise description of the problem
For now, the source map will ignore the markdown component. It will be better to have a source map with source of generated html or markdown better.
Suggested solution
Is this broken the source map?
(And the defined missing
excerptandfrontmatter. It better to be:Validations