Mark the markdown package as external

This commit is contained in:
unknown 2022-06-06 10:15:04 -04:00
parent cacaeafb9b
commit 3e97151734
2 changed files with 2 additions and 2 deletions

View file

@ -61,7 +61,8 @@ export default function createIntegration(args?: Options): AstroIntegration {
outfile: pth,
allowOverwrite: true,
format: 'esm',
bundle: true
bundle: true,
external: [ "@astrojs/markdown-remark"]
});
// Remove chunks, if they exist. Since we have bundled via esbuild these chunks are trash.

View file

@ -12,7 +12,6 @@ Deno.test({
const resp = await fetch('http://127.0.0.1:8085/');
assertEquals(resp.status, 200);
const html = await resp.text();
console.log(html);
assert(html);
const doc = new DOMParser().parseFromString(html, `text/html`);
const div = doc.querySelector('#thing');