[ci] format

This commit is contained in:
bholmesdev 2022-06-27 21:22:26 +00:00 committed by fredkbot
parent 4acd245d8f
commit efd6548d49
2 changed files with 3 additions and 3 deletions

View file

@ -12,7 +12,7 @@ interface Options {
const SHIM = `globalThis.process = {
argv: [],
env: Deno.env.toObject(),
};`
};`;
export function getAdapter(args?: Options): AstroAdapter {
return {
@ -70,7 +70,7 @@ export default function createIntegration(args?: Options): AstroIntegration {
external: ['@astrojs/markdown-remark'],
banner: {
js: SHIM,
}
},
});
// Remove chunks, if they exist. Since we have bundled via esbuild these chunks are trash.

View file

@ -85,7 +85,7 @@ async function bundleServerEntry(buildConfig: BuildConfig, vite: any) {
external: ['@astrojs/markdown-remark'],
banner: {
js: SHIM,
}
},
});
// Remove chunks, if they exist. Since we have bundled via esbuild these chunks are trash.