summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Matthew Phillips <matthew@skypack.dev> 2023-03-13 10:05:54 -0400
committerGravatar GitHub <noreply@github.com> 2023-03-13 10:05:54 -0400
commit9c266d69d1e8cc2b2d6af27c2ef558e633936c04 (patch)
treee4a31738270f46c995002ae5aaaa7d6e6c1c1fd3
parentd531821e343b7772cf8a5de06fa41f266d5b17d3 (diff)
downloadastro-9c266d69d1e8cc2b2d6af27c2ef558e633936c04.tar.gz
astro-9c266d69d1e8cc2b2d6af27c2ef558e633936c04.tar.zst
astro-9c266d69d1e8cc2b2d6af27c2ef558e633936c04.zip
Remove false-positive warnings from Cloudflare's build (#6531)
-rw-r--r--packages/integrations/cloudflare/src/index.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/packages/integrations/cloudflare/src/index.ts b/packages/integrations/cloudflare/src/index.ts
index 0343e6e81..f0e252989 100644
--- a/packages/integrations/cloudflare/src/index.ts
+++ b/packages/integrations/cloudflare/src/index.ts
@@ -107,6 +107,9 @@ export default function createIntegration(args?: Options): AstroIntegration {
banner: {
js: SHIM,
},
+ logOverride: {
+ 'ignored-bare-import': 'silent'
+ },
});
// Rename to worker.js