-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: Do not duplicate SWC transforms in the final binary (#5200)
### Description This PR modifies generic instantiation to use `&dyn Comments` instead of `SwcComments`, to reduce binary size along with swc-project/swc#7489. ### Testing Instructions I'll post the binary size once swc-project/swc#7489 is merged. --- - Previous binary size: `133.4MiB` - New binary size: `132.4MiB` --- Closes WEB-1148
- Loading branch information
Showing
3 changed files
with
40 additions
and
32 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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