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