swc/crates/swc_estree_compat
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
..
benches perf(es/transform): Use SingleThreadedComments for transform (#3847) 2022-03-04 12:07:51 +00:00
scripts fix(webpack/ast): Adjust acorn options. (#2908) 2021-11-29 21:08:22 +09:00
src refactor(es/ast): Remove useless fields in private property (#3868) 2022-03-05 23:51:04 +09:00
tests fix(es/compat): Change pass ordering of es2015 (#4029) 2022-03-15 14:17:03 +00:00
Cargo.toml chore: Publish crates 2022-03-14 04:11:07 +09:00
README.md refactor(es/estree): Rename: babel => estree (#2846) 2021-11-24 05:34:41 +09:00

Convert SWC AST to Babel AST.

Testing

To run tests

cargo test

For more information about writing tests, see tests.