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

Fix bug when resolving file names with a period. #1748

Merged
merged 2 commits into from
May 27, 2021

Conversation

tmpfs
Copy link
Contributor

@tmpfs tmpfs commented May 26, 2021

Using with_extension() on file names that contained a period would
truncate the name causing module resolution to fail.

This also includes the resolve-name-fix test case using a specific
version of core-js that is a real-world library using periods in file
names and referencing imports without an explicit extension.

tmpfs and others added 2 commits May 26, 2021 13:30
Using `with_extension()` on file names that contained a period would
truncate the name causing module resolution to fail.

This also includes the `resolve-name-fix` test case using a specific
version of `core-js` that is a real-world library using periods in file
names and referencing imports without an explicit extension.
@kdy1 kdy1 merged commit 1150fbc into swc-project:master May 27, 2021
@kdy1 kdy1 added this to the v1.2.59 milestone May 27, 2021
@swc-project swc-project locked as resolved and limited conversation to collaborators Nov 10, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants