diff --git a/src/utils/transform/index.ts b/src/utils/transform/index.ts index 4ad271d4d..06a52ba21 100644 --- a/src/utils/transform/index.ts +++ b/src/utils/transform/index.ts @@ -68,7 +68,7 @@ export function transformSync( if (transformed.warnings && transformed.warnings.length > 0) { const { warnings } = transformed; for (const warning of warnings) { - console.log(warning); + console.error(warning); } } @@ -117,7 +117,7 @@ export async function transform( if (transformed.warnings && transformed.warnings.length > 0) { const { warnings } = transformed; for (const warning of warnings) { - console.log(warning); + console.error(warning); } }