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.
ignoredFiles
1 parent 06b41bd commit 911cd63Copy full SHA for 911cd63
packages/bundler-plugin-core/src/index.ts
@@ -627,6 +627,12 @@ export function createComponentNameAnnotateHooks(
627
return null;
628
}
629
630
+ const isIgnoredFile = ignoredFiles?.some((file) => idWithoutQueryAndHash.endsWith(file));
631
+ if (isIgnoredFile) {
632
+ console.log(`FOUND IGNORED FILE: ${idWithoutQueryAndHash}`);
633
+ return null;
634
+ }
635
+
636
// We will only apply this plugin on jsx and tsx files
637
if (![".jsx", ".tsx"].some((ending) => idWithoutQueryAndHash.endsWith(ending))) {
638
0 commit comments