mirror of
https://github.com/swc-project/swc.git
synced 2024-12-24 06:05:02 +03:00
21848ce2ea
swc_ecma_transofrms_base: - `fixer`: Handle `in`. - `fixer`: Handle `in` in the head of for statements. - `fixer`: Optimize `- (1 / 0)`. - `fixer`: Optimize `void 0 === a`. - `fixer`: Optimize `a-- && b = c`. - `fixer`: Don't de-optimize if statements. - `fixer`: Fix handling of if statements. swc_ecma_transforms_optimization: - `dead_branch_remover`: Preserve `var`s in dropped switch cases. |
||
---|---|---|
.. | ||
assets | ||
examples | ||
scripts | ||
src | ||
tests | ||
build.rs | ||
Cargo.toml | ||
README.md |
swc_bundler
Bundler for the swc project.
Features
- Clean merging (generated code is easy to optimize)
- Parallel file loading
- Tree shaking
- Common js support (aka
require
) - Circular imports
Tests live at /spack
.