SWC Bot
160043a2d3
chore: Bump crates
2024-01-27 04:57:56 +00:00
xiao xin
d6a4615898
fix(es/loader): Make tsc
resolver work for bare specifier ( #8550 )
...
**Description:**
From the typescript
[baseUrl](https://www.typescriptlang.org/docs/handbook/modules/reference.html#baseurl )
doc: When using bare specifiers (module specifiers that don’t begin with
./, ../, or /), baseUrl has a higher precedence than node_modules
package lookups.
In the current tsc resolver implementation, when resolving bare module
specifiers, baseUrl was not used except for `paths`, this cause the
belowing resolution failed, but it worked when used in typescript
project.
`tsconfig.json` / `.swcrc`:
```json
{
baseUrl: "."
paths: {
"@common/*": ["src/common/*"]
}
}
```
File structure:
- ./src/common/helper.ts
- ./src/index.ts
./src/index.ts content:
```ts
// tsc can resolve this, but tsc resolver cannot
import sth from "src/common/helper"
```
2024-01-27 04:56:11 +00:00
SWC Bot
c3fd9d081e
chore: Bump crates
2024-01-24 02:04:25 +00:00
SWC Bot
2d15177ca9
chore: Bump crates
2024-01-23 08:38:01 +00:00
SWC Bot
990f291d43
chore: Bump crates
2024-01-21 15:30:11 +00:00
Donny/강동윤
2d8bd9ed89
fix(es/module): Fix handling of *
in jsc.paths
( #8535 )
...
**Related issue:**
- Closes #8375
2024-01-21 15:28:38 +00:00
SWC Bot
9c23f1cf38
chore: Bump crates
2024-01-21 12:37:38 +00:00
Donny/강동윤
71fb5c12a7
fix(es/module): Fix resolving of dependencies ( #8533 )
...
**Description:**
I changed the signature of `Resolve` because there was a need to pass the `value` part from `jsc.paths` to the caller.
**Related issue:**
- Closes #8184
2024-01-21 21:35:57 +09:00
SWC Bot
6210bf19de
chore: Bump crates
2024-01-21 03:08:11 +00:00
SWC Bot
1ca0d65c29
chore: Bump crates
2024-01-21 02:34:11 +00:00
SWC Bot
595f13c019
chore: Publish crates
2023-12-08 07:18:16 +00:00
SWC Bot
0bde652b5c
chore: Publish crates
2023-12-08 01:58:57 +00:00
SWC Bot
98c47df37a
chore: Publish crates
2023-12-01 20:08:13 +00:00
SWC Bot
c03f84e54e
chore: Publish crates
2023-11-15 22:45:18 +00:00
SWC Bot
2d2ad1e9a1
chore: Publish crates
2023-11-09 03:48:08 +00:00
SWC Bot
2effaf6f43
chore: Publish crates
2023-11-09 01:01:47 +00:00
SWC Bot
4c2547adf2
chore: Publish crates
2023-11-07 09:55:14 +00:00
SWC Bot
09b3003e58
chore: Publish crates
2023-11-07 00:54:18 +00:00
SWC Bot
b070ffe425
chore: Publish crates
2023-11-06 05:31:11 +00:00
SWC Bot
edb46c3c71
chore: Publish crates
2023-11-04 21:49:01 +00:00
SWC Bot
67b0a7f258
chore: Publish crates
2023-10-25 23:01:44 +00:00
SWC Bot
19ccd66d89
chore: Publish crates
2023-10-24 00:04:34 +00:00
SWC Bot
5450f5808a
chore: Publish crates
2023-10-23 22:03:16 +00:00
SWC Bot
34e03c4661
chore: Publish crates
2023-10-08 00:41:50 +00:00
SWC Bot
a6527bf9ab
chore: Publish crates
2023-10-06 00:12:18 +00:00
SWC Bot
8bb911269c
chore: Publish crates
2023-09-06 17:31:41 +00:00
Donny/강동윤
a86e9f3bb5
fix(es/module): Fix jsc.paths
for projects using pnpm ( #7918 )
...
**Related issue:**
- x-ref: https://vercel.slack.com/archives/C04DUD7EB1B/p1693911653100299?thread_ts=1693819683.070959&cid=C04DUD7EB1B
2023-09-06 17:29:47 +00:00
SWC Bot
d1ec49e3e5
chore: Publish crates
2023-08-31 13:25:10 +00:00
SWC Bot
5c96b8545d
chore: Publish crates
2023-08-25 13:48:47 +00:00
Donny/강동윤
11ebae1bdd
fix(es/module): Don't resolve as node_modules
from TscResolver
( #7866 )
...
**Related issue:**
- Closes #7863
2023-08-25 22:46:53 +09:00
Donny/강동윤
52a1ee78da
fix(es/module): Fix logic for exact matches in jsc.paths
( #7860 )
...
**Related issue:**
- Closes #7829
2023-08-25 07:23:19 +00:00
SWC Bot
9c69caf665
chore: Publish crates
2023-08-25 06:07:50 +00:00
Donny/강동윤
d33a97303c
fix(es/module): Make jsc.paths
work for a nest.js app ( #7852 )
2023-08-25 15:05:43 +09:00
SWC Bot
7b5cb902a5
chore: Publish crates
2023-08-24 12:58:41 +00:00
SWC Bot
a9a6928a4e
chore: Publish crates
2023-08-24 08:20:56 +00:00
SWC Bot
e9dfe879d9
chore: Publish crates
2023-08-16 18:04:14 +00:00
SWC Bot
d5495eeb9a
chore: Publish crates
2023-08-16 14:18:56 +00:00
David Sherret
b43e38d3f9
refactor: Use ahash
from swc_common
in more places ( #7815 )
...
**Description:**
Uses ahash from swc_common in more places. This allows for more easily
swapping out ahash with rustc_hash.
2023-08-16 23:16:52 +09:00
SWC Bot
a671afa0aa
chore: Publish crates
2023-08-16 02:12:39 +00:00
SWC Bot
026101b71e
chore: Publish crates
2023-07-20 05:57:51 +00:00
SWC Bot
735a82d6a4
chore: Publish crates
2023-07-05 03:52:51 +00:00
SWC Bot
4efefb0f4e
chore: Publish crates
2023-06-23 02:28:10 +00:00
SWC Bot
8c1436aaf5
chore: Publish crates
2023-06-22 13:40:52 +00:00
Donny/강동윤
d57d0d3ad3
build(cargo): Update deps ( #7566 )
2023-06-22 13:37:35 +00:00
SWC Bot
33355cf707
chore: Publish crates
2023-06-22 07:43:38 +00:00
Donny/강동윤
d12dc70c91
build(cargo): Update deps ( #7564 )
2023-06-22 07:40:41 +00:00
SWC Bot
f9c5265bde
chore: Publish crates
2023-06-21 15:44:11 +00:00
SWC Bot
a63905aa2c
chore: Publish crates
2023-05-30 05:18:06 +00:00
SWC Bot
6c3ff01a53
chore: Publish crates
2023-05-24 07:48:00 +00:00
SWC Bot
da0c612d85
chore: Publish crates
2023-05-16 05:18:57 +00:00