mirror of
https://github.com/swc-project/swc.git
synced 2024-11-28 11:13:43 +03:00
76de51333d
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. |
||
---|---|---|
.. | ||
assets | ||
examples | ||
scripts | ||
src | ||
tests | ||
.gitignore | ||
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
.