summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.changeset/unlucky-shoes-vanish.md5
-rw-r--r--packages/integrations/vercel/src/lib/nft.ts4
2 files changed, 7 insertions, 2 deletions
diff --git a/.changeset/unlucky-shoes-vanish.md b/.changeset/unlucky-shoes-vanish.md
new file mode 100644
index 000000000..f1ae77749
--- /dev/null
+++ b/.changeset/unlucky-shoes-vanish.md
@@ -0,0 +1,5 @@
+---
+"@astrojs/vercel": patch
+---
+
+Move nft warnings behind verbose logging
diff --git a/packages/integrations/vercel/src/lib/nft.ts b/packages/integrations/vercel/src/lib/nft.ts
index 6daf12558..3b54ae8cc 100644
--- a/packages/integrations/vercel/src/lib/nft.ts
+++ b/packages/integrations/vercel/src/lib/nft.ts
@@ -53,11 +53,11 @@ export async function copyDependenciesToFunction(
if (module === 'sharp') continue;
if (entryPath === file) {
- console.warn(
+ logger.debug(
`[@astrojs/vercel] The module "${module}" couldn't be resolved. This may not be a problem, but it's worth checking.`
);
} else {
- console.warn(
+ logger.debug(
`[@astrojs/vercel] The module "${module}" inside the file "${file}" couldn't be resolved. This may not be a problem, but it's worth checking.`
);
}