LongYinan
db9b988845
feat(node-swc): Add libc
field in Linux platform packages ( #4046 )
2022-03-16 18:58:24 +09:00
Donny/강동윤
38c0c0faa6
chore: Publish crates
2022-03-14 04:11:07 +09:00
Donny/강동윤
40b8a4e596
feat(common): Implement a pretty error reporter ( #3946 )
2022-03-13 19:07:18 +00:00
Donny/강동윤
ddfa490899
chore: Publish crates
2022-03-12 10:00:23 +09:00
SWC Bot
fd453b9170
chore: Publish crates
2022-03-05 19:34:45 +00:00
SWC Bot
2fdc5f625d
chore: Publish crates
2022-03-05 14:52:49 +00:00
OJ Kwon
bc60a6e90c
feat(plugin): Expose swc_ecma_quote
( #3790 )
2022-03-01 12:46:16 +09:00
SWC Bot
e4c674b9cb
chore: Publish crates
2022-02-21 13:10:43 +00:00
SWC Bot
e08a2c2c17
chore: Publish crates
2022-02-21 07:15:09 +00:00
SWC Bot
264f1cf8d6
chore: Publish crates
2022-02-20 15:53:48 +00:00
SWC Bot
dfb4da259f
chore: Publish crates
2022-02-16 14:48:59 +09:00
OJ Kwon
88e07b21d1
refactor(plugin): Remove direct dependency to once_cell
( #3582 )
2022-02-16 14:43:25 +09:00
SWC Bot
a5ae6806c3
chore: Publish crates
2022-02-15 17:05:01 +09:00
Donny/강동윤
3fc16cdc1c
doc(plugin): Fix typo ( #3547 )
2022-02-13 01:16:52 +09:00
SWC Bot
5d1e2964fc
chore: Publish crates
2022-02-12 15:55:13 +09:00
Donny/강동윤
fbe91963bf
fix(plugin): Allow testing ( #3542 )
2022-02-12 15:53:41 +09:00
OJ Kwon
72b31977e4
doc(plugin): Fix install command ( #3541 )
2022-02-12 15:50:50 +09:00
SWC Bot
65efef2e74
chore: Publish crates
2022-02-12 14:25:32 +09:00
OJ Kwon
6ed089e1cf
feat(cli): Add a command for scaffolding a new plugin ( #3536 )
2022-02-12 13:48:40 +09:00
Donny/강동윤
9b76783281
refactor(common): Cleanup & rustfmt ( #3495 )
...
swc_common:
- Merge identical source codes.
swc_css_parser:
- Deny `clippy::all`.
- Fix lints.
2022-02-09 06:33:32 +00:00
OJ Kwon
494b4c8203
feat(swc/plugin): Implement proxy for Mark::fresh
( #3492 )
2022-02-09 13:56:39 +09:00
OJ Kwon
d473a65976
feat(plugin): Support global HANDLER
in the plugin context ( #3478 )
2022-02-08 14:06:10 +09:00
OJ Kwon
a8debc17f6
feat(plugin): Pass host context to plugins for diagnostics emission ( #3359 )
2022-01-25 08:13:39 +00:00
OJ Kwon
438649818f
refactor(plugin): Remove multivalue polyfill ( #3346 )
2022-01-24 15:13:30 +09:00
OJ Kwon
c6ffdc8717
feat(plugin): Add PluginError
( #3300 )
2022-01-18 12:26:04 +09:00
Donny
c13bba8401
chore: Publish crates
2022-01-12 18:39:56 +09:00
OJ Kwon
432d5d3fb7
feat(plugin/macro): Add safe API for plugins based on a proc-macro ( #3240 )
2022-01-12 09:32:52 +00:00
Donny/강동윤
74fd353053
fix(es/minifier): Fix bugs ( #3238 )
...
swc_ecma_minifier:
- `collapse_vars`: Respect `mutated`. (Closes #2679 )
- Add a test for https://github.com/vercel/next.js/issues/31084 .
2022-01-12 16:57:54 +09:00
OJ Kwon
a2f2b5ac89
feat(plugin): Don't serialize/deserialize needlessly ( #3227 )
...
swc_common:
- Add `Serialized`.
swc_plugin_runner:
- Accept `Serialized` instead of `Program`.
- Pass `Serialized` from previous plugin instead of deserializing it.
2022-01-11 10:11:04 +00:00
Donny
852ec783f3
chore: Publish crates
2022-01-10 22:57:17 +09:00
OJ Kwon
7e7421ea52
feat(plugin): Perform actual transforms in plugins ( #3220 )
2022-01-10 21:34:16 +09:00
Donny
56d1f03556
chore: Publish crates
2022-01-07 15:18:26 +09:00
OJ Kwon
92de2c7884
feat(plugin): Pass serialized ast to a wasm file ( #3199 )
...
swc_common:
- Use correct cargo feature for plugin apis.
swc_plugin:
- Add hidden functions required for memory operations from host.
swc_plugin_runner:
- Pass serialized AST to a wasm file.
2022-01-07 15:13:46 +09:00
Donny
6892f27ad7
chore: Publish crates
2022-01-06 20:19:36 +09:00
Donny
781aa79b82
chore: Publish crates
2022-01-04 19:29:50 +09:00
OJ Kwon
32d3342283
refactor(plugin): Remove codes related to the plugin system based on abi_stable
( #3188 )
2022-01-04 10:26:17 +00:00
Donny
ab10f77af9
chore: Publish crates
2022-01-04 14:19:00 +09:00
Donny
d77bb8aff0
chore: Publish crates
2022-01-04 14:18:19 +09:00
Donny
1e5bc88cd3
chore: Publish crates
2022-01-03 17:45:09 +09:00
Donny/강동윤
194b3e9b67
refactor(*): Use 2021 edition ( #3151 )
2021-12-30 18:59:18 +09:00
OJ Kwon
72c963662d
refactor(*): Drop unused dependencies ( #3138 )
2021-12-29 15:27:51 +09:00
Donny
9b36abbe75
chore: Publish crates
2021-12-15 16:22:00 +09:00
Donny
b1a47ee971
chore: Publish crates
2021-12-07 14:34:44 +09:00
Donny
acc45e7c36
chore: Publish crates
2021-12-05 17:34:04 +09:00
Donny
529f980693
chore: Publish crates
2021-12-05 15:44:50 +09:00
Donny
86d2cebd37
chore: Publish v1.2.115
2021-12-01 14:20:52 +09:00
Donny
655d754d0e
chore: Publish crates
2021-11-30 03:55:52 +09:00
Donny/강동윤
91ef3cc16e
feat(plugin): Enable plugin support under experimental flag ( #2894 )
...
swc_plugin_runner:
- Add plugin resolver.
- Implement cache for resolver.
- Add some integration tests.
swc:
- Add a cargo feature named `plugin`.
- Add an experimental option for plugins.
node:
- Enable `plugin`.
- Add some integration tests.
2021-11-28 17:02:14 +09:00
Donny/강동윤
ffcb357010
feat(plugin): Rename Plugin
to JsPlugin
( #2893 )
...
swc_js_plugin_api:
- Rename to js plugin.
- Use rplugin and plugin ast instead of json.
2021-11-27 22:21:25 +09:00
Tim Neutkens
3ebc5c6b69
chore: Update markdown files to use "SWC" instead of "swc" ( #2744 )
2021-11-15 04:26:04 +00: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/강동윤
2b2f6955f2
refactor: Flatten ecmascript
( #2708 )
2021-11-10 19:00:54 +09:00
Donny/강동윤
4f70ee6d98
refactor: Flatten more packages ( #2706 )
2021-11-10 16:39:01 +09:00
Donny/강동윤
687305f280
refactor: Flatten crates ( #2697 )
2021-11-09 20:42:49 +09:00