Adjective-Object / good-fences-rs-core

8 stars 0 forks source link

Use swc in resolve_with_extension #57

Closed flickyiyo closed 9 months ago

flickyiyo commented 9 months ago

Added resolver to get resolved files with extension in order to avoid files with multiple . on it's name to resolve a different extension:

Currently imports such as graphql/__generated__/getBuildingQuery.interface resolves with extension interface instead of ts.

resolve_with_extension uses swc import resolver to retrieve resolved files with the full extension of the file even when it has . in the name.

Adjective-Object commented 9 months ago

Seems good overall, please fix the tests though