-
-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use CommonJS instead of custom transformers;
while we are left with non-pretty replacements of `require` with `await require`, maybe those could be performed in an `after` transformer in the future. The advantage of this approach is in lower maintenance burden (less to rewrite on each TypeScript major version bump) and a working implementation of exports, over quite complex custom transformer which was not fully functional for some edge cases. The disadvantage is that the transpiled code looks less like the original making debugging harder for plugin users.
- Loading branch information
1 parent
23ea3cf
commit 0599fbc
Showing
5 changed files
with
70 additions
and
325 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
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
Oops, something went wrong.