Commit Graph

6979 Commits

Author SHA1 Message Date
OJ Kwon
976667f7d9
feat(plugin/runner): Improve cache path (#7188)
**Description:**

This PR is minor improvement, non breaking changes to cache path for the plugin. In short, it tries to combine rustc version if available to expand. `option_env!` supposed to embed build time rustc version. It'd be ideal if we could match between plugin's as well, but I doubt if we could before actually load plugin.
2023-04-02 00:22:58 +00:00
SWC Bot
fa153348c9 chore: Publish crates 2023-04-01 06:17:38 +00:00
Donny/강동윤
df7b4e71d2
feat(css/modules): Preserve spans of CSS class names (#7185)
**Description:**

x-ref: https://vercel.slack.com/archives/D03JF6EG45S/p1680280923015879
2023-04-01 06:15:25 +00:00
SWC Bot
b7366fd5ce chore: Publish crates 2023-04-01 05:42:08 +00:00
magic-akari
98f14931e7
fix(es/modules): Hint nodejs for multiple export * (#7184) 2023-04-01 05:40:25 +00:00
SWC Bot
b94fbed4c9 chore: Publish crates 2023-03-31 06:17:53 +00:00
magic-akari
3ca954b9f9
fix(es/helpers): Use snake_case for helpers (#7147)
**Related issue:**

 - Closes https://github.com/swc-project/swc/issues/7144.
 - Closes https://github.com/swc-project/swc/issues/7118.
2023-03-31 15:15:21 +09:00
SWC Bot
d61e84c5ce chore: Publish crates 2023-03-31 04:03:04 +00:00
Donny/강동윤
a785f18740
test(es/plugin): Enable E2E plugin test (#7178) 2023-03-31 04:01:17 +00:00
SWC Bot
7d69b79a9e chore: Publish crates 2023-03-31 03:23:35 +00:00
magic-akari
0a80e0506b
fix(es/compat): Handle shorthand object prop while renaming (#7176)
**Related issue:**

 - Closes https://github.com/swc-project/swc/issues/7174.
2023-03-31 03:21:39 +00:00
Donny/강동윤
a1b7e1358a chore: Publish crates 2023-03-30 17:59:01 +09:00
Donny/강동윤
dd48918417
chore: Publish v1.3.44 with swc_core v0.72.6 (#7172) 2023-03-30 17:58:06 +09:00
SWC Bot
bf1e55d27b chore: Publish crates 2023-03-30 08:48:31 +00:00
magic-akari
23fb8c5563
fix(es/compat): Fix the position for temp var injection (#7171) 2023-03-30 17:41:55 +09:00
SWC Bot
6a015550ba chore: Publish crates 2023-03-30 08:40:29 +00:00
magic-akari
065d11cb9b
fix(es/compat): Handle import/export in reserved_word (#7165) 2023-03-30 17:38:35 +09:00
SWC Bot
b1fb6b655f chore: Publish crates 2023-03-30 08:08:20 +00:00
Donny/강동윤
0259a7465f
build(cargo): Update rustc to nightly-2023-03-20 (#7170)
**Description:**

This PR also updates `rkyv` to `=0.7.40`.

**Related issue:**

 - Closes https://github.com/swc-project/swc/issues/6807.
2023-03-30 08:06:02 +00:00
SWC Bot
44062d6fa5 chore: Publish crates 2023-03-29 08:50:54 +00:00
Donny/강동윤
12546c853a
build(cargo): Revert rustc upgrade (#7162)
**Description:**

The `rkyv` bug is not fixed.
2023-03-29 17:48:45 +09:00
Donny/강동윤
4d7491d477 chore: Publish crates 2023-03-29 16:05:50 +09:00
Donny/강동윤
82a0521ccf
chore: Publish v1.3.43 with swc_core v0.72.2 (#7158) 2023-03-29 16:05:00 +09:00
SWC Bot
d74103739a chore: Publish crates 2023-03-29 06:26:30 +00:00
Donny/강동윤
e445502072
build(cargo): Update rustc to nightly-2023-03-28 (#7154)
**Description:**

This PR also updates `rkyv` to `=0.7.40`.

**Related issue:**

 - Closes https://github.com/swc-project/swc/issues/6807.
2023-03-29 06:24:19 +00:00
SWC Bot
fca18b2c6b chore: Publish crates 2023-03-28 08:00:32 +00:00
Donny/강동윤
6f0bf665c2
fix(css/compat): Remove usage of box_syntax (#7153) 2023-03-28 16:58:08 +09:00
SWC Bot
03f7a2d8d7 chore: Publish crates 2023-03-27 06:41:36 +00:00
Fy
05a2815e6c
feat(es/react): Support script within automatic runtime (#7126)
**Description:**

Inject `const { jsx: _jsx} = require("react/jsx-runtime")` when sourceType is `script`

**Related issue:**

 - Closes https://github.com/swc-project/swc/issues/7119.
2023-03-27 06:39:37 +00:00
SWC Bot
47f15f9f28 chore: Publish crates 2023-03-27 06:04:11 +00:00
Donny/강동윤
5e58b3e5f6
feat(css/parser): Add legacy_ie to the ParserConfig (#7109) 2023-03-27 15:02:18 +09:00
SWC Bot
8fe52a12b3 chore: Publish crates 2023-03-27 04:31:35 +00:00
Donny/강동윤
30bc086052
refactor(ast): Make serde optional (#7138)
**Description:**

Turbopack does not use `serde` of swc AST types.
2023-03-27 13:28:42 +09:00
SWC Bot
3f2ba68d4b chore: Publish crates 2023-03-24 04:48:48 +00:00
Donny/강동윤
28261985b0
chore(cargo): Refactor Cargo.toml to reduce merge conflict (#7139) 2023-03-24 13:46:42 +09:00
SWC Bot
6635d54128 chore: Publish crates 2023-03-24 02:42:16 +00:00
Donny/강동윤
915f747cb7
refactor(es/parser): Remove EnumKind to reduce compile time (#7137) 2023-03-24 11:40:26 +09:00
SWC Bot
4eef5532a4 chore: Publish crates 2023-03-23 09:42:52 +00:00
Donny/강동윤
b13eb4c811
fix(fast-graph): Use fxhash instead of ahash to make iteration order consistent (#7133)
**Description:**

Some operations of `petgraph` assumes the same iteration order.
2023-03-23 18:32:47 +09:00
SWC Bot
b178ff5661 chore: Publish crates 2023-03-23 09:19:33 +00:00
Donny/강동윤
2154a3f117
refactor(macros): Reduce compile time (#7132)
**Description:**

 - Reduce usage of generics in proc-macros.
 - Remove needless operations like parsing tokens as an AST node.
2023-03-23 18:16:50 +09:00
SWC Bot
d1ae6bb3d9 chore: Publish crates 2023-03-23 09:14:02 +00:00
Donny/강동윤
150c2b6fba
fix(css/codegen): Preserve raw of numbers (#7131)
**Description:**

x-ref: https://vercel.slack.com/archives/C03EWR7LGEN/p1679513958649249
2023-03-23 09:12:07 +00:00
SWC Bot
42f71431bf chore: Publish crates 2023-03-23 05:19:01 +00:00
Donny/강동윤
dfe1a3f496
refactor(es): Remove needless build scripts to reduce compile time (#7129) 2023-03-23 05:15:59 +00:00
SWC Bot
e77bc0a62f chore: Publish crates 2023-03-23 04:39:01 +00:00
Donny/강동윤
08fa94fc73
refactor(es/codegen): Extract code from generic functions to reduce compile time (#7127) 2023-03-23 04:37:02 +00:00
SWC Bot
f81ac50c2a chore: Publish crates 2023-03-23 04:00:14 +00:00
magic-akari
5d7acfd9cb
fix(es/react): Respect import_source in new jsx (#7128)
**Related issue:**

 - Closes https://github.com/swc-project/swc/issues/6987.
2023-03-23 03:58:28 +00:00
SWC Bot
aaaa9caafc chore: Publish crates 2023-03-22 12:27:14 +00:00