-
Notifications
You must be signed in to change notification settings - Fork 820
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: improve instanceof checks to support custom transformers
This commit updates two instanceof checks to instead check the constructor name. This is done to better support custom transformers. Because custom transformers import/require potentially different copies of the transformer modules, the instanceof checks do not work. This required v2 custom transformers to rely on NODE_PATH hacks and other workarounds. Refs: #9362
- Loading branch information
1 parent
3df3af0
commit 8a76661
Showing
2 changed files
with
10 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters