Skip to content

Commit 26fb084

Browse files
committed
use this.warn
1 parent da39e2e commit 26fb084

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/commonjs/src/analyze-exports-lexer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ export async function analyzeExports(code, id) {
3838
};
3939
} catch (err) {
4040
// If lexer fails (e.g. WASM issue), fall back gracefully
41-
console.warn(
41+
this.warn(
4242
`[commonjs] cjs-module-lexer failed for ${id}: ${err.message}. ` +
4343
'Falling back to no named exports.'
4444
);

0 commit comments

Comments
 (0)