We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent da39e2e commit 26fb084Copy full SHA for 26fb084
packages/commonjs/src/analyze-exports-lexer.js
@@ -38,7 +38,7 @@ export async function analyzeExports(code, id) {
38
};
39
} catch (err) {
40
// If lexer fails (e.g. WASM issue), fall back gracefully
41
- console.warn(
+ this.warn(
42
`[commonjs] cjs-module-lexer failed for ${id}: ${err.message}. ` +
43
'Falling back to no named exports.'
44
);
0 commit comments