Donny
262c8941a2
chore: Publish crates
2021-11-16 21:17:19 +09:00
Donny
6129e990d4
chore: Publish crates
2021-11-16 11:55:00 +09:00
Donny
c15116de07
chore: Publish crates
2021-11-15 17:45:19 +09:00
Donny
2cd565bfc0
chore: Publish crates
2021-11-15 14:31:44 +09:00
Donny/강동윤
f2c67b8caf
fix(es/minifier): Don't inline string literals if it's used multiple time ( #2748 )
...
swc_ecma_minifier:
- Don't inline strings because it's simple.
- Inline short strings.
2021-11-15 14:03:03 +09:00
Donny
8df860e16c
chore: Publish crates
2021-11-14 06:21:28 +09:00
Donny
898ed7015c
chore: Publish crates
2021-11-14 05:35:02 +09:00
Donny/강동윤
b869c81888
refactor(swc_bundler): Extract logic for analyzing cycles ( #2733 )
2021-11-12 23:33:32 +09:00
Donny
3294a35417
chore: Publish crates
2021-11-12 21:27:00 +09:00
Donny
fd4a71747b
chore: Publish crates
2021-11-12 19:10:21 +09:00
Donny
90b7074556
chore: Publish crates
2021-11-12 16:26:08 +09:00
Donny
544835a3a5
chore: Publish crates
2021-11-11 23:37:43 +09:00
Donny/강동윤
665c8e05fc
fix(es): Move TargetEnv
to loader from ast ( #2719 )
...
swc_ecma_ast:
- Move `TargetEnv` to `swc_ecma_loader`.
swc_ecma_loader:
- Drop unused dependencies.
2021-11-11 20:00:46 +09:00
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
Donny
c5aac71660
chore: Publish crates
2021-11-11 14:15:29 +09:00
Donny
5db7bdc133
chore: Publish crates
2021-11-10 21:59:34 +09:00
Donny
3adeb6bf30
chore: Publish crates
2021-11-10 20:57:43 +09:00
Donny
4863bee163
chore: Publish crates
2021-11-10 17:35:07 +09:00
Donny
158136fae9
chore: Publish crates
2021-11-10 16:16:19 +09:00
Donny
2be8559e35
chore: Publish crates
2021-11-10 13:58:42 +09:00
Donny/강동윤
bf0007bec0
feat(rplugin): Implement general AST processing plugin system ( #2671 )
...
swc_common:
- Implement `StableAbi` for `BytePos`.
- Implement `StableAbi` for `Span`.
rplugin:
- Add `StableAst`.
swc_plugin_api:
- Drop unused dependencies.
swc_ecma_plugin_ast:
- Initialize crate.
2021-11-09 18:46:24 +09:00
Donny
797f4fff14
chore: Publish crates
2021-11-09 16:13:52 +09:00
Donny/강동윤
22ce68cfaa
fix(swc): Don't print same error twice ( #2692 )
2021-11-09 15:18:11 +09:00
Donny
bcf1cfa6a1
chore: Publish crates
2021-11-09 15:17:27 +09:00
Donny/강동윤
368b9e2ff2
chore: Update rustc to prevent CVE-2021-42574
( #2690 )
2021-11-09 14:20:02 +09:00
Donny
7e259abae1
chore: Publish crates
2021-11-08 16:26:51 +09:00
Donny
76d9ae7656
chore: Publish crates
2021-11-08 16:01:09 +09:00
Donny
6b478ccce0
chore: Publish crates
2021-11-08 15:05:21 +09:00
Donny
98fc40988c
chore: Publish crates
2021-11-08 13:06:54 +09:00
Donny
fd14b4f1dd
chore: Publish crates
2021-11-08 00:29:47 +09:00
Donny
999ad77a3d
chore: Publish crates
2021-11-07 02:27:34 +09:00
Donny
5c2479c005
chore: Publish crates
2021-11-07 01:19:57 +09:00
Donny
b3fd7046d7
chore: Publish crates
2021-11-06 18:35:38 +09:00
Donny/강동윤
3dc1e765e9
feat(swc): Provide &Program
to pass creator ( #2665 )
...
swc:
- Use `impl |prorgram: &Program| -> impl Fold` instead of `impl Fold`. (Closes https://github.com/swc-project/swc/issues/2664 )
2021-11-06 18:05:10 +09:00
Donny
0240beccdf
chore: Publish crates
2021-11-05 20:48:06 +09:00
Donny/강동윤
994c9655c8
feat(es/ast): Add utils ( #2657 )
...
swc_ecma_ast:
- Add `as_ident` to `PatOrExpr`.
- Add `as_ident_mut` to `PatOrExpr`.
- Replace `Is` macro for `ParOrExpr` with custom impl.
2021-11-05 16:09:08 +09:00
Donny
224972f487
chore: Publish crates
2021-11-05 05:14:56 +09:00
Donny/강동윤
a6836368a2
fix(plugin): Fix serialization and deserialization ( #2651 )
...
swc_plugin_api:
- Add `serialize_ast`.
- Add `deserialize_ast`.
2021-11-04 21:15:18 +09:00
Donny
46e32a6a72
chore: Publish crates
2021-11-04 19:59:54 +09:00
Donny/강동윤
0414c31480
feat(es/ast): Implement Take
for more types ( #2649 )
2021-11-04 19:59:28 +09:00
Donny
04befab67a
chore: Publish crates
2021-11-04 19:27:31 +09:00
Donny/강동윤
380722976a
feat(plugin): Proxy swc_common
apis ( #2646 )
...
swc_common:
- Add `Runtime` trait for plugin.
- Implement `serde` for diagnostics.
- Proxy diagnostics using `Runtime`.
- Proxy `HygieneData::with` with `Runtime`.
- Add implementation of `Runtime` with cargo feature `plugin-rt`.
- Make `Runtime` implement `StableAbi`.
swc_plugin:
- Move api code to `swc_plugin_api`.
- Depend on `swc_common/plugin-mode`.
- Configure `Runtime` before invoking custom transforms.
- Use `bincode` for serde.
swc_plugin_runner:
- Depend on `swc_common/plugin-rt`.
- Pass `Runtime` implementation to the plugins.
- Use `bincode` for serde.
2021-11-04 19:24:49 +09:00
Alexander Akait
8c61d0d609
feat(css/ast): Add RoundBracketBlock
to Value
( #2618 )
2021-11-04 12:05:29 +09:00
Donny
7403956d4a
chore: Publish crates
2021-11-03 22:46:51 +09:00
Donny
a973b0bed4
chore: Publish crates
2021-11-03 13:55:27 +09:00
Donny
1c5f75485f
chore: Publish crates
2021-11-03 13:21:40 +09:00
Donny
4e003b60f7
chore: Publish crates
2021-11-03 11:25:56 +09:00
Donny/강동윤
04238d0b93
feat(swc_common): Allow dylib
( #2628 )
...
swc_common:
- Add `dylib` to `crate-type`.
2021-11-02 23:54:20 +09:00
Donny
74aa0068db
chore: Publish crates
2021-11-02 20:15:43 +09:00
Donny
170a53a4ce
chore: Publish crates
2021-11-02 18:42:35 +09:00