swc/bundler
Donny/강동윤 d0342a5a58
feat(swcpack): Enable concurrent mode (#2356)
swc_common:
 - Use `Mutex` from `parking_lot` instead of it from std.

swc_bundler:
 - Use `fxhash` if possible.
 - Don't `clone()` all modules if the entry has only one item.

swc_ecma_loader:
 - `NodeModulesResolver`: Use `path-clean` instead of `canonicalize`.

swc_ecma_transforms_optimization:
 - Reimplement `dce`

node_bundler:
 - Enable `concurrent` of `swc_bundler`.
2021-10-08 16:47:01 +09:00
..
assets swc_bundler (#943) 2020-08-12 22:18:47 +09:00
examples feat(swcpack): Enable concurrent mode (#2356) 2021-10-08 16:47:01 +09:00
scripts feat(swcpack): Enable concurrent mode (#2356) 2021-10-08 16:47:01 +09:00
src feat(swcpack): Enable concurrent mode (#2356) 2021-10-08 16:47:01 +09:00
tests feat(swcpack): Enable concurrent mode (#2356) 2021-10-08 16:47:01 +09:00
.gitignore feat(swcpack): Enable concurrent mode (#2356) 2021-10-08 16:47:01 +09:00
build.rs Fix bundler (#1194) 2020-10-30 14:49:02 +09:00
Cargo.toml feat(swcpack): Enable concurrent mode (#2356) 2021-10-08 16:47:01 +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.