-
-
Notifications
You must be signed in to change notification settings - Fork 6.4k
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
feat: non-blocking esbuild optimization at build time #8280
Merged
patak-dev
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-dev bfff06a
chore: update jsxLoader hint
patak-dev 19e7168
fix: avoid the breaking change
patak-dev 5837ce9
fix: handle edge case and simplify
patak-dev 5291442
chore: merge main
patak-dev 628399e
chore: merge main
patak-dev 29ee41e
chore: merge main
patak-dev 9199c63
chore: merge main
patak-dev 2530ea6
chore: merge main
patak-dev 3b58a43
feat: build time esbuild based deps optimization
patak-dev 5f3cd98
chore: lint, remove unused import
patak-dev 92b0609
chore: merge main
patak-dev fbd4c0f
feat: scan free one pass optimization during build
patak-dev c7f4485
chore: merge main
patak-dev 027b50f
fix: handle dynamic import
patak-dev 40e0a26
chore: merge main
patak-dev a635b41
chore: merge feat/non-blocking-need-es-interop
patak-dev f9d8e41
refactor: simplify for non-blocking needInterop
patak-dev 386391c
test: skip three non-supported tests
patak-dev dcd3b5e
chore: merge main
patak-dev 14b70f7
fix: optimizeDeps.include support
patak-dev f7488f6
chore: merge main
patak-dev 8dc6def
chore: format
patak-dev ff76fbb
chore: merge main
patak-dev 8093499
test: try to exclude external component
patak-dev 0872fe4
chore: fix ssr-vue test
bluwy 1c38395
chore: update ssr-react tests
bluwy fc47ae8
feat: improve run optimizer when iddle logic
patak-dev fd4c815
test: revert skip for resolve test
patak-dev 51e4c97
feat: shared optimizedDeps for worker builds
patak-dev d5fdaf9
feat: don't block deps processing in workers sources
patak-dev 63b62bb
chore: merge feat/non-blocking-need-es-interop
patak-dev 58cbd2c
test: don't skip ssr-vue /external test
patak-dev 7216c98
fix: build
patak-dev 46f5d8b
test: add nested-deps, but skip test-package-e-included
patak-dev ec453fb
chore: don't use commonjs plugins in workers
patak-dev 9f2f6e9
test: update nested-deps include/exclude config
patak-dev 04c2a65
test: exclude doesn't support nested, thanks @bluwy
patak-dev 3e6e54e
chore: merge main
patak-dev 7ed333e
chore: TODO, skip nested exclude test
patak-dev 9cdc833
feat: support watch mode
patak-dev 216290e
chore: format
patak-dev d08b766
Merge branch 'main' into feat/non-blocking-need-es-interop
patak-dev b88a120
chore: clean up
patak-dev 8ba5f2e
fix: optimize-missing-deps, remove skip for darwin
patak-dev 95aac5e
chore: lint
patak-dev 76a2015
test: skip test again in darwin, seems Vitest has an issue here in CI
patak-dev ef14106
Merge branch 'feat/non-blocking-need-es-interop' into feat/non-blocki…
antfu bbe6903
chore: fix typo
patak-dev 72b1f04
chore: clean up
patak-dev 889257e
chore: runOptimizerWhenIdle clean up
patak-dev 2a9801e
chore: name constant delay time
patak-dev 809fdb8
chore: clean up
patak-dev 8133edc
chore: merge main
patak-dev e7cac66
refactor: optimizedDeps -> depsOptimizer
patak-dev ec1a639
chore: lint
patak-dev 6bdd7e1
refactor: avoid config and server dep in resolvePlugin
patak-dev af443a9
refactor: optimizeDeps.disabled: boolean | 'dev' | 'build'
patak-dev 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 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
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.
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 👍🏼