Skip to content

Commit 31590d4

Browse files
matthewplilnasy
andauthored
Move nft warnings behind verbose logging (#10609)
* Move nft warnings behind verbose logging * Update packages/integrations/vercel/src/lib/nft.ts Co-authored-by: Arsh <69170106+lilnasy@users.noreply.github.com> * Update packages/integrations/vercel/src/lib/nft.ts Co-authored-by: Arsh <69170106+lilnasy@users.noreply.github.com> --------- Co-authored-by: Arsh <69170106+lilnasy@users.noreply.github.com>
1 parent e31bea0 commit 31590d4

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

.changeset/unlucky-shoes-vanish.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@astrojs/vercel": patch
3+
---
4+
5+
Move nft warnings behind verbose logging

packages/integrations/vercel/src/lib/nft.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,11 @@ export async function copyDependenciesToFunction(
5353
if (module === 'sharp') continue;
5454

5555
if (entryPath === file) {
56-
console.warn(
56+
logger.debug(
5757
`[@astrojs/vercel] The module "${module}" couldn't be resolved. This may not be a problem, but it's worth checking.`
5858
);
5959
} else {
60-
console.warn(
60+
logger.debug(
6161
`[@astrojs/vercel] The module "${module}" inside the file "${file}" couldn't be resolved. This may not be a problem, but it's worth checking.`
6262
);
6363
}

0 commit comments

Comments
 (0)