Domiii / Domiii/dbux

Fix moduleFilters: files are logged multiple times

Open
#682 0 comments 0 reactions 1 assignee Claimed by @Domiii View on GitHub
bug priority
Dominant language
JavaScript
Stars
171
Forks
13
PR merge metrics
No merged PRs in 30d

Description

NOTES:

* In our new system, `moduleFilters` can be registered on multiple levels: 1. as the `include` or `ignore` babel option, 2. as an option to the Dbux plugin itself, because `include`/`ignore` is controlled by the build system, and should not be tempered with.
* Make sure that if we have multiple filters at different stages, they only log once anyway.

TODO

* [ ] Fix: Currently, when building `react-tic-tac-toe`, some files are logged **4 times** with `[REGISTER]`. Any whitelisted file should ideally only appear once.
* Everything works fine though...

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.