diff options
author | 2022-06-06 16:03:17 +0000 | |
---|---|---|
committer | 2022-06-06 16:03:17 +0000 | |
commit | 8bb28b48ee286439c69b35fa434994d2f83d6702 (patch) | |
tree | 5f667f0d232280dbbb4426bebd8e0d37472526c3 /packages/integrations/deno/src | |
parent | c22a07db134a9d0741a05123fb506595aabf145b (diff) | |
download | astro-8bb28b48ee286439c69b35fa434994d2f83d6702.tar.gz astro-8bb28b48ee286439c69b35fa434994d2f83d6702.tar.zst astro-8bb28b48ee286439c69b35fa434994d2f83d6702.zip |
[ci] format
Diffstat (limited to 'packages/integrations/deno/src')
-rw-r--r-- | packages/integrations/deno/src/index.ts | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/packages/integrations/deno/src/index.ts b/packages/integrations/deno/src/index.ts index 6fd19e53e..aa4496e1f 100644 --- a/packages/integrations/deno/src/index.ts +++ b/packages/integrations/deno/src/index.ts @@ -62,17 +62,18 @@ export default function createIntegration(args?: Options): AstroIntegration { allowOverwrite: true, format: 'esm', bundle: true, - external: [ "@astrojs/markdown-remark"] + external: ['@astrojs/markdown-remark'], }); // Remove chunks, if they exist. Since we have bundled via esbuild these chunks are trash. try { - const chunkFileNames = _vite?.build?.rollupOptions?.output?.chunkFileNames ?? 'chunks/chunk.[hash].mjs'; + const chunkFileNames = + _vite?.build?.rollupOptions?.output?.chunkFileNames ?? 'chunks/chunk.[hash].mjs'; const chunkPath = npath.dirname(chunkFileNames); const chunksDirUrl = new URL(chunkPath + '/', _buildConfig.server); await fs.promises.rm(chunksDirUrl, { recursive: true, force: true }); } catch {} - } + }, }, }; } |