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

feat(swc): Add import resolvers #1834

Merged
merged 11 commits into from Jun 24, 2021
Merged

feat(swc): Add import resolvers #1834

merged 11 commits into from Jun 24, 2021

Conversation

kdy1
Copy link
Member

@kdy1 kdy1 commented Jun 18, 2021

swc_ecma_loader:

  • Add Resolve.
  • Add TsConfigResolver.

swc_ecma_transforms_module:

  • Use Resolve for remapping import paths.
  • Add ImportResolver.
  • Add NodeImprortResolver.

swc:

@kdy1 kdy1 added this to the v1.2.62 milestone Jun 18, 2021
kdy1 referenced this pull request in LavaMoat/basalt Jun 23, 2021
Copy NodeResolver from `spack` because `spack` has not yet been
published and @kdy1 says it is too early to publish it as a crate.

Update README with simple getting started information.
@kdy1 kdy1 marked this pull request as ready for review June 24, 2021 06:25
@kdy1 kdy1 enabled auto-merge (squash) June 24, 2021 06:26
@kdy1 kdy1 merged commit 4cd4337 into swc-project:master Jun 24, 2021
@kdy1 kdy1 deleted the resolver branch June 24, 2021 06:32
@swc-project swc-project locked as resolved and limited conversation to collaborators Nov 9, 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.

Module resolver / path rewrites / aliases Typescript Path Alias supporting
1 participant