-
Notifications
You must be signed in to change notification settings - Fork 13k
--moduleResolution bundler
(formerly known as hybrid
)
#51669
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
andrewbranch
merged 65 commits into
microsoft:main
from
andrewbranch:module-resolution/hybrid
Dec 13, 2022
+4,077
−481
Merged
Changes from 62 commits
Commits
Show all changes
65 commits
Select commit
Hold shift + click to select a range
e9f0a1a
WIP
andrewbranch 5f9cf9d
Add extension error back unless noEmit is set
andrewbranch 2421cf5
Add non-relative tests
andrewbranch 660026e
Add error for importing from declaration file
andrewbranch 2daa136
Merge branch 'main' into module-resolution/minimal
andrewbranch f49a368
Update unit test
andrewbranch af03675
Add explicit flag for importing from .ts extensions
andrewbranch 496ef99
Add module specifier resolution changes
andrewbranch 458c125
Add auto-import tests
andrewbranch 7d64928
Disallow relative imports into node_modules
andrewbranch 0249e0a
Ensure auto-imports don’t suggest ./node_modules;
andrewbranch 6242ee3
Test a non-portable declaration emit issue
andrewbranch 6cc0e18
Test auto-importing TSX file
andrewbranch 240533a
Update path completions
andrewbranch eb9a4bb
Merge branch 'main' into module-resolution/minimal
andrewbranch 619843e
Fix lint due to merge
andrewbranch 2ceb4bc
Remove minimal-specific stuff
andrewbranch aad7fe7
Remove minimal tests
andrewbranch 7fd3e72
Update unit tests
andrewbranch 7cca6f3
Merge branch 'main' into module-resolution/ts-extensions
andrewbranch ea12012
Merge branch 'main' into module-resolution/ts-extensions
andrewbranch 8655cf9
Merge branch 'main' into module-resolution/ts-extensions
andrewbranch 86dd5da
Add options
andrewbranch 8846f31
Add customConditions option
andrewbranch 9bc0f07
Add first tests
andrewbranch 4545afb
CJS constructs are not allowed
andrewbranch e82e61d
Add another test
andrewbranch 038783d
Fix extension adding/replacing priority
andrewbranch c55c454
Merge branch 'main' into module-resolution/ts-extensions
andrewbranch 870d807
Merge branch 'module-resolution/ts-extensions' into module-resolution…
andrewbranch 6e1989e
Merge branch 'main' into module-resolution/ts-extensions
andrewbranch a482180
Merge branch 'module-resolution/ts-extensions' into module-resolution…
andrewbranch 89bcd01
Update test to reflect the choice not to block on unrecognized extens…
andrewbranch 6074661
Add auto-imports and string completions tests
andrewbranch fa188b1
Revamp string completions ending preferences
andrewbranch 9e03db2
Merge branch 'module-resolution/ts-extensions' into module-resolution…
andrewbranch c4320a2
Comment test
andrewbranch f04f1b5
Auto-imports of declaration files cannot use .ts extension
andrewbranch 29039de
Have declaration file auto imports default to extensionless instead
andrewbranch c6b963b
Merge branch 'main' into module-resolution/ts-extensions
andrewbranch e83ca2a
Merge branch 'module-resolution/ts-extensions' into module-resolution…
andrewbranch f98730a
Add test for custom conditions
andrewbranch 5a01dd6
Fix indentation
andrewbranch 4dd6d01
Add baseline showing resolvePackageJsonImports/Exports compatibility
andrewbranch 7225671
Merge branch 'main' into module-resolution/ts-extensions
andrewbranch 81b9e70
Merge branch 'module-resolution/ts-extensions' into module-resolution…
andrewbranch f6fa5f3
Fix test and prevent CJS require from resolving
andrewbranch aeb23be
Update unit test baselines
andrewbranch 3b1d554
Merge branch 'main' into module-resolution/ts-extensions
andrewbranch e0c0375
Merge branch 'module-resolution/ts-extensions' into module-resolution…
andrewbranch f9414aa
Fix bad merge conflict resolution
andrewbranch dadc1a8
Make resolvedUsingTsExtension optional
andrewbranch 5909643
Merge branch 'main' into module-resolution/ts-extensions
andrewbranch 5089aab
Merge branch 'module-resolution/ts-extensions' into module-resolution…
andrewbranch a88b8ad
Update missed baselines
andrewbranch c3575de
Merge branch 'main' into module-resolution/ts-extensions
andrewbranch 224bb10
Merge branch 'module-resolution/ts-extensions' into module-resolution…
andrewbranch b2e283c
Revert now-unnecessary API implementation changes
andrewbranch 30afa86
Clean up
andrewbranch c4ba4a5
Merge branch 'main' into module-resolution/ts-extensions
andrewbranch 0baca5b
Merge branch 'module-resolution/ts-extensions' into module-resolution…
andrewbranch 6e763d9
Update baselines to es5 emit
andrewbranch 4e73a46
Merge branch 'main' into module-resolution/ts-extensions
andrewbranch 22fbb44
Merge branch 'module-resolution/ts-extensions' into module-resolution…
andrewbranch d4a3b3c
Rename to `bundler`
andrewbranch 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
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.
Uh oh!
There was an error while loading. Please reload this page.