[ci] format
This commit is contained in:
parent
4acd245d8f
commit
efd6548d49
2 changed files with 3 additions and 3 deletions
|
@ -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.
|
||||||
|
|
|
@ -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.
|
||||||
|
|
Loading…
Reference in a new issue