refactor: remove Markdoc export
This commit is contained in:
parent
6193f994f1
commit
cdf45e8e42
1 changed files with 2 additions and 5 deletions
|
@ -1,7 +1,7 @@
|
||||||
import type { AstroIntegration } from 'astro';
|
import type { AstroIntegration } from 'astro';
|
||||||
import type { InlineConfig } from 'vite';
|
import type { InlineConfig } from 'vite';
|
||||||
import type { Config, Config as _MarkdocConfig } from '@markdoc/markdoc';
|
import type { Config } from '@markdoc/markdoc';
|
||||||
import _Markdoc from '@markdoc/markdoc';
|
import Markdoc from '@markdoc/markdoc';
|
||||||
import { parseFrontmatter } from './utils.js';
|
import { parseFrontmatter } from './utils.js';
|
||||||
import { fileURLToPath } from 'node:url';
|
import { fileURLToPath } from 'node:url';
|
||||||
import fs from 'node:fs';
|
import fs from 'node:fs';
|
||||||
|
@ -64,6 +64,3 @@ export default function markdoc(markdocConfig: Config): AstroIntegration {
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
export const Markdoc = _Markdoc;
|
|
||||||
export type MarkdocConfig = _MarkdocConfig;
|
|
||||||
|
|
Loading…
Reference in a new issue