OJ Kwon
2fa51ecd78
test(plugin): Setup e2e fixture testing for plugins ( #5192 )
2022-07-13 06:39:08 +00:00
OJ Kwon
f167198470
feat(plugin/macros): Export new interface for getting plugin schema version ( #5166 )
2022-07-11 01:44:00 +00:00
Donny/강동윤
ac3a55a435
feat(visit): Add index to AstKind
( #5138 )
...
- Make `VisitAstPath` take `AstNodePath<AstKind, AstNodeRef>`.
- Add index to `AstKind::Vec*`.
2022-07-09 10:15:12 +00:00
Donny/강동윤
17c51fa53c
refactor(webpack-ast): Remove ( #5026 )
2022-06-22 04:25:27 +00:00
Donny/강동윤
125549b7a9
test(es/helpers): Unify code path for testing external helpers ( #5010 )
2022-06-21 23:02:12 +09:00
Devon Govett
9484cf81a1
fix(es/helpers): Use .mjs
extension in helper imports ( #4979 )
2022-06-16 16:23:02 +09:00
Donny/강동윤
1a9f93546b
chore(ci): Test concurrent
( #4955 )
2022-06-13 11:15:18 +00:00
Donny/강동윤
2e9ab0518a
feat(node): Split css binding ( #4831 )
2022-05-28 14:32:56 +00:00
Donny/강동윤
1c48a8c8f4
fix(es/minifier): Consider side effects while removing an object spread ( #4788 )
2022-05-26 07:37:34 +00:00
Donny/강동윤
38a866a900
test(es): Make execution tests faster ( #4789 )
2022-05-25 06:23:35 +00:00
Donny/강동윤
49b3c2715c
refactor(es/minifier): Make rust-analyzer
fast, really ( #4746 )
2022-05-23 16:16:05 +09:00
Donny/강동윤
47e6cc5190
refactor(es/minifier): Make rust-analyzer
faster ( #4744 )
...
- We now use a separate crate for testing the minifier. This makes IDE much faster.
2022-05-23 15:53:01 +09:00
Donny/강동윤
7fc9bbccd9
feat(config): Make all configuration overridable ( #4575 )
2022-05-09 05:38:27 +00:00
Donny/강동윤
f23c943227
chore(ci): Improve CI scripts ( #4572 )
2022-05-08 08:55:51 +00:00
LongYinan
3d5c0fa966
fix(node): Fix tls allocation issue ( #4514 )
2022-05-04 10:04:48 +00:00
Donny/강동윤
b3fb0e9ceb
chore(ci): Use yarn
instead of npm
( #4432 )
2022-04-25 11:44:50 +00:00
Alexander Akait
63a6280e8f
feat(html/minifier): Initialize crate ( #4403 )
2022-04-23 03:50:59 +00:00
Donny/강동윤
a8ed5ba357
fix(es/minifier): Apply name mangler as much as we can ( #4365 )
2022-04-19 17:20:12 +09:00
Donny/강동윤
83a8f489ec
refactor(bindings): Rename crates ( #4337 )
2022-04-15 22:47:44 +09:00
Donny/강동윤
adea17dbe3
chore(ci): Fix CI ( #4299 )
2022-04-10 09:33:18 +00:00
Alexander Akait
3e7872c8de
feat(html): Initialize ( #4240 )
2022-04-04 04:12:45 +00:00
Donny/강동윤
3b1da220e2
refactor(*): Remove fastmem
( #4211 )
2022-03-31 11:40:06 +00:00
Donny/강동윤
78175473fa
refactor(css/prefixer): Rename crate ( #4159 )
2022-03-25 19:46:45 +09:00
OJ Kwon
fefb5870c7
feat(cli): Enable plugins for swc_cli
( #4059 )
2022-03-17 15:31:20 +09:00
OJ Kwon
dab2002a2e
refactor(plugin/runner): Split modules and introduce feature flags ( #4035 )
2022-03-15 22:45:40 +00:00
Donny/강동윤
e19a60aad4
fix(es/compat): Change pass ordering of es2015
( #4029 )
...
**Description:**
We should apply `regenerator` after `block_scoping` because `regenerator` does not know how to handle `const`s.
**Related issue:**
- Closes https://github.com/swc-project/swc/issues/3006
2022-03-15 14:17:03 +00:00
Austaras
487273fc5b
fix(preset-env): Use core-js-compat
and @babel/compat-data
directly ( #3968 )
2022-03-11 12:49:53 +00:00
Donny/강동윤
e3c374b53b
feat(es/quote): Support variables ( #3774 )
2022-02-28 10:44:06 +00:00
Pig Fang
66c6cae8dc
feat(css/lints): Add CSS linter ( #3765 )
2022-02-27 15:31:19 +00:00
William Tetlow
abc0572557
fix(es/parser) Throw a syntax error for const
without initializer in strict mode ( #3742 )
...
Co-authored-by: Donny/강동윤 <kdy1997.dev@gmail.com>
2022-02-27 06:25:05 +00:00
Donny/강동윤
6d98d146a6
chore: Skip CI for automated commits ( #3760 )
2022-02-27 14:44:35 +09:00
Donny/강동윤
76ec275c3c
chore(ci): Reduce CI time ( #3719 )
2022-02-24 06:06:03 +00:00
Donny/강동윤
f733c9c82f
chore(ci): Kill previous runs ( #3678 )
2022-02-22 23:25:40 +09:00
Donny/강동윤
b1d24702e3
refactor(preset-env): Extract common logic for browserslist
support ( #3674 )
2022-02-22 09:03:40 +00:00
Donny/강동윤
47a81bdb95
chore(ci): Remove useless tests from the matrix ( #3561 )
2022-02-14 21:13:25 +09:00
Donny/강동윤
a7f0e84bbf
feat(es/minifier): Drop useless assignments ( #3528 )
...
testing:
- Allow skipping diff using an environment variable `DIFF`.
swc_ecma_minifier:
- `pure`: Drop useless assignemnts.
2022-02-11 08:43:48 +00:00
Donny/강동윤
74b433080b
refactor(es/minifier): Remove unused crates ( #3395 )
2022-01-28 20:17:08 +09:00
OJ Kwon
a4c497464d
feat(plugin/runnner): Support wasm32-wasi
targets ( #3271 )
2022-01-15 04:40:00 +00:00
Donny/강동윤
978de5943e
chore(ci): Configure clippy
( #3250 )
2022-01-13 23:06:11 +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
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/강동윤
46949d39eb
chore(ci): Split cargo docs ( #3187 )
2022-01-04 16:53:29 +09:00
Donny/강동윤
61cd7da265
chore(ci): Reduce CI time ( #3128 )
2021-12-27 17:32:47 +09:00
Donny/강동윤
ff0b55b778
feat(es/diff): Initialize a diff tool for ecmascript ( #3101 )
...
swc_ecma_diff:
- Initialize the project.
2021-12-23 22:01:56 +09:00
Donny/강동윤
7236a2213e
refactor(es/parser): Make some verification logic optional ( #3024 )
...
swc_ecma_parser:
- Make dependency on `swc_ecma_visit` optional.
2021-12-13 11:39:17 +09:00
OJ Kwon
69123ddc28
chore(ci): Setup yarn cache ( #3015 )
2021-12-12 16:16:20 +09:00
OJ Kwon
00d22b8fde
build: Use mocha
for exec_ test
instead of jest
( #3009 )
2021-12-11 07:59:21 +00: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
Donny/강동윤
c2bbdbe9d6
feat(webpack): Add ast reducer ( #2875 )
...
swc_estree_compat:
- Fix stack overflow related to object patterns.
swc_webpack_}ast:
- Implement AST reducer.
2021-11-26 15:04:41 +09:00