This repository has been archived by the owner on Dec 8, 2024. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid plugin local state tracking imports previously created
Creating `allAddedImports` in plugin scope "bleeds" across repeated transpilations. This babel plugin function is invoked once for each configuration of babel plugins, **not** once per transpilation attempt. This moves `allAddedImports` onto `state` so that it is reset between transpilation attempts.
- Loading branch information