swc/bundler
Donny/강동윤 76de51333d
fix(es/transforms): Fix for react + typescript (#2422)
swc_common:
 - Add `NoopComments`.
 - Implement `Comments` for `Option<C>` where C: `Comments`.
 - Add some helper methods to `Comments`.
 - Deprecate `CommentsExt`.

swc_ecma_transforms_base:
 - `resolver`: Handle `TsImportEqualsDecl`.

swc_ecma_transforms_react:
 - Reduce useless cloning using `Arc`.
 - Expose API for parsing directives like `@jsxPragma`.

swc_ecma_transforms_typescript:
 - Accept `pragma` and `pragmaFrag`.
 - Support jsx directives.
 - Preserve jsx-related imports.

swc:
 - Optimize `SwcComments`.
 - Run`resolver` before everything else.
2021-10-13 22:29:56 +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 perf(bundler): Improve performance (#2394) 2021-10-11 13:00:02 +00:00
tests fix(es/transforms/base): Fix hyigiene (#2421) 2021-10-13 17:32:37 +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 fix(es/transforms): Fix for react + typescript (#2422) 2021-10-13 22:29:56 +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.