summaryrefslogtreecommitdiff
path: root/packages/integrations/deno/src
diff options
context:
space:
mode:
authorGravatar Arsh <69170106+lilnasy@users.noreply.github.com> 2023-09-25 13:43:43 +0000
committerGravatar GitHub <noreply@github.com> 2023-09-25 19:13:43 +0530
commit954cadc1e534079a6fba369629272caa173d40ac (patch)
tree42a92b35b1d4bd65b3e71e16e6cb2fba1499a0ad /packages/integrations/deno/src
parent211bfe3b00c2e77e3647a6e1f1644ddc1ab7fda8 (diff)
downloadastro-954cadc1e534079a6fba369629272caa173d40ac.tar.gz
astro-954cadc1e534079a6fba369629272caa173d40ac.tar.zst
astro-954cadc1e534079a6fba369629272caa173d40ac.zip
fix(deno): do not set vite.ssr.noExternal (#8652)
* fix(deno): safely set external specifiers * noExternal does not need to be manually set at all
Diffstat (limited to '')
-rw-r--r--packages/integrations/deno/src/index.ts4
1 files changed, 1 insertions, 3 deletions
diff --git a/packages/integrations/deno/src/index.ts b/packages/integrations/deno/src/index.ts
index d1dd6103d..9740e3027 100644
--- a/packages/integrations/deno/src/index.ts
+++ b/packages/integrations/deno/src/index.ts
@@ -130,6 +130,7 @@ export default function createIntegration(args?: Options): AstroIntegration {
`[@astrojs/deno] Otherwise, this adapter is not required to deploy a static site to Deno.`
);
}
+
},
'astro:build:setup': ({ vite, target }) => {
if (target === 'server') {
@@ -149,9 +150,6 @@ export default function createIntegration(args?: Options): AstroIntegration {
(vite.resolve.alias as Record<string, string>)[alias.find] = alias.replacement;
}
}
- vite.ssr = {
- noExternal: COMPATIBLE_NODE_MODULES,
- };
if (Array.isArray(vite.build.rollupOptions.external)) {
vite.build.rollupOptions.external.push(DENO_IMPORTS_SHIM);