From 291bf085617ceb20d60742d3e4dc4d555e66f9ab Mon Sep 17 00:00:00 2001 From: Matteo Gheza Date: Mon, 8 Sep 2025 17:32:36 +0200 Subject: [PATCH] Remove logging for node_modules in build process Remove `console.log` for skipping node_modules in build --- src/index.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/index.ts b/src/index.ts index 2d1db09..d992115 100644 --- a/src/index.ts +++ b/src/index.ts @@ -13,7 +13,6 @@ export const ConditionCommentMacroPlugin = (options: { setup(build) { build.onLoad({ filter: /\.(ts|js)?$/ }, args => { if (args.path.includes('node_modules')) { - console.log(`${args.path}; library; skipping`); return; } const source = readFileSync(args.path, 'utf8'); @@ -37,4 +36,4 @@ export const ConditionCommentMacroPlugin = (options: { }, } } -} \ No newline at end of file +}