mirror of
https://github.com/withastro/astro.git
synced 2025-03-10 23:01:26 -05:00
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>
This commit is contained in:
parent
4c0f446731
commit
610859d6e5
1 changed files with 2 additions and 2 deletions
|
@ -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.`
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue