-
-
Notifications
You must be signed in to change notification settings - Fork 8k
feat: non-blocking esbuild optimization at build time #8280
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
Merged
patak-cat
merged 58 commits into
main
from
feat/non-blocking-esbuild-optimization-at-built-time
May 26, 2022
Merged
Changes from all commits
Commits
Show all changes
58 commits
Select commit
Hold shift + click to select a range
305eefc
feat: non-blocking needs interop
patak-cat bfff06a
chore: update jsxLoader hint
patak-cat 19e7168
fix: avoid the breaking change
patak-cat 5837ce9
fix: handle edge case and simplify
patak-cat 5291442
chore: merge main
patak-cat 628399e
chore: merge main
patak-cat 29ee41e
chore: merge main
patak-cat 9199c63
chore: merge main
patak-cat 2530ea6
chore: merge main
patak-cat 3b58a43
feat: build time esbuild based deps optimization
patak-cat 5f3cd98
chore: lint, remove unused import
patak-cat 92b0609
chore: merge main
patak-cat fbd4c0f
feat: scan free one pass optimization during build
patak-cat c7f4485
chore: merge main
patak-cat 027b50f
fix: handle dynamic import
patak-cat 40e0a26
chore: merge main
patak-cat a635b41
chore: merge feat/non-blocking-need-es-interop
patak-cat f9d8e41
refactor: simplify for non-blocking needInterop
patak-cat 386391c
test: skip three non-supported tests
patak-cat dcd3b5e
chore: merge main
patak-cat 14b70f7
fix: optimizeDeps.include support
patak-cat f7488f6
chore: merge main
patak-cat 8dc6def
chore: format
patak-cat ff76fbb
chore: merge main
patak-cat 8093499
test: try to exclude external component
patak-cat 0872fe4
chore: fix ssr-vue test
bluwy 1c38395
chore: update ssr-react tests
bluwy fc47ae8
feat: improve run optimizer when iddle logic
patak-cat fd4c815
test: revert skip for resolve test
patak-cat 51e4c97
feat: shared optimizedDeps for worker builds
patak-cat d5fdaf9
feat: don't block deps processing in workers sources
patak-cat 63b62bb
chore: merge feat/non-blocking-need-es-interop
patak-cat 58cbd2c
test: don't skip ssr-vue /external test
patak-cat 7216c98
fix: build
patak-cat 46f5d8b
test: add nested-deps, but skip test-package-e-included
patak-cat ec453fb
chore: don't use commonjs plugins in workers
patak-cat 9f2f6e9
test: update nested-deps include/exclude config
patak-cat 04c2a65
test: exclude doesn't support nested, thanks @bluwy
patak-cat 3e6e54e
chore: merge main
patak-cat 7ed333e
chore: TODO, skip nested exclude test
patak-cat 9cdc833
feat: support watch mode
patak-cat 216290e
chore: format
patak-cat d08b766
Merge branch 'main' into feat/non-blocking-need-es-interop
patak-cat b88a120
chore: clean up
patak-cat 8ba5f2e
fix: optimize-missing-deps, remove skip for darwin
patak-cat 95aac5e
chore: lint
patak-cat 76a2015
test: skip test again in darwin, seems Vitest has an issue here in CI
patak-cat ef14106
Merge branch 'feat/non-blocking-need-es-interop' into feat/non-blocki…
antfu bbe6903
chore: fix typo
patak-cat 72b1f04
chore: clean up
patak-cat 889257e
chore: runOptimizerWhenIdle clean up
patak-cat 2a9801e
chore: name constant delay time
patak-cat 809fdb8
chore: clean up
patak-cat 8133edc
chore: merge main
patak-cat e7cac66
refactor: optimizedDeps -> depsOptimizer
patak-cat ec1a639
chore: lint
patak-cat 6bdd7e1
refactor: avoid config and server dep in resolvePlugin
patak-cat af443a9
refactor: optimizeDeps.disabled: boolean | 'dev' | 'build'
patak-cat File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@aleclarson we plan to merge this PR leaving this as a TODO, I think it is a good idea to revisit it and try to add back the optimization. I would prefer we could do something more generic here but I see the appeal to at least doing it for the jsx runtime that is used everywhere in the app
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
did you try merging #7246 into this PR to see if your issue can be avoided?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, but I was looking into that PR while checking this code. If you have time to try it out, it would be good. If not, I prefer we move forward without the optimization to be able to merge these PRs and we can add it back with #7246 or a similar PR 👍🏼