Mark the markdown package as external
This commit is contained in:
parent
cacaeafb9b
commit
3e97151734
2 changed files with 2 additions and 2 deletions
|
@ -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.
|
||||
|
|
|
@ -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');
|
||||
|
|
Loading…
Add table
Reference in a new issue