swc/bundler
강동윤 21848ce2ea
fix(es/transforms): Fix passes related to optimizations (#1942)
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.
2021-07-20 11:07:36 +00:00
..
assets swc_bundler (#943) 2020-08-12 22:18:47 +09:00
examples bundler: Handle swc helpers (#1199) 2020-11-05 09:53:18 +09:00
scripts fix(bundler): Fix bugs (#1437) 2021-03-02 17:33:03 +09:00
src chore: Publish v1.2.63 & Update rustc (#1894) 2021-07-05 12:51:09 +00:00
tests fix(es/transforms): Fix passes related to optimizations (#1942) 2021-07-20 11:07:36 +00:00
build.rs Fix bundler (#1194) 2020-10-30 14:49:02 +09:00
Cargo.toml refactor(es/dep-graph): Remove SourceMap dependency (#1908) 2021-07-14 00:59:13 +09:00
README.md swc_bundler (#943) 2020-08-12 22:18:47 +09:00

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.