swc/crates/swc_ecma_loader
Donny/강동윤 1d028fe940
fix(es): Fix paths support (#2712)
swc_ecma_loader:
 - `TsConfigResolver`: Use `baseUrl` on exact match while resolving. (Closes #2126)

swc_ecma_transforms_module:
 - Add `import_rewriter`.
 - `NodeImportResolver`: Don't strip extension if it's a directory. (Closes #2269)
 - `NodeImportResolver`: Don't strip extension if it's not `.ts`, `.js` nor `.tsx`.

swc:
 - Use `import_rewriter`. (Closes #1943, Closes #2523)
 - Update test (Closes #2715)
2021-11-11 16:57:31 +09:00
..
src fix(es): Fix paths support (#2712) 2021-11-11 16:57:31 +09:00
tests refactor: Flatten ecmascript (#2708) 2021-11-10 19:00:54 +09:00
Cargo.toml fix(es): Fix paths support (#2712) 2021-11-11 16:57:31 +09:00