Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

perf: process js files in node_modules with esbuild #1169

Merged
merged 1 commit into from
Nov 15, 2021
Merged

perf: process js files in node_modules with esbuild #1169

merged 1 commit into from
Nov 15, 2021

Conversation

ahnpnl
Copy link
Collaborator

@ahnpnl ahnpnl commented Nov 15, 2021

Summary

Use regex to capture js files from node_modules to process with esbuild. However, tslib.js and tslib.es6.js are excluded because these files are already fine without extra processing.

Closes #1168

Test plan

Added unit test and e2e test

Green CI

Does this PR introduce a breaking change?

  • Yes
  • No

Other information

N.A.

@ahnpnl ahnpnl added the 💣 Breaking Changes Includes a breaking change and should probably wait until we're preparing for the release of a major label Nov 15, 2021
BREAKING CHANGE
`js` files from `node_modules` are now compiled with `esbuild` to improve performance
@ahnpnl ahnpnl marked this pull request as ready for review November 15, 2021 15:01
@ahnpnl ahnpnl merged commit 1de3bf0 into thymikee:main Nov 15, 2021
@ahnpnl ahnpnl deleted the process-js-packages branch November 15, 2021 15:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
💣 Breaking Changes Includes a breaking change and should probably wait until we're preparing for the release of a major
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: Slow startup on larger projects
1 participant