e468752ebc
swc_common: - Deprecate some unused types. swc: - `BoolOrObject`: Improve the error message for deserialization failure. - `BoolOrObject`: Treat an empty object as `true`. - `JsMinifyFormatOptions`: Add fields. (#2153) node_swc: - Improve error message for deserialization failure. |
||
---|---|---|
.cargo | ||
.github | ||
.vscode | ||
atoms | ||
benches | ||
bundler | ||
common | ||
css | ||
ecmascript | ||
examples | ||
macros | ||
node | ||
node-swc | ||
plugin | ||
scripts | ||
src | ||
testing | ||
tests | ||
vendor | ||
visit | ||
wasm | ||
.gitattributes | ||
.gitignore | ||
.gitmodules | ||
.npmignore | ||
.prettierrc | ||
.rustfmt.toml | ||
ARCHITECTURE.md | ||
Cargo.lock | ||
Cargo.toml | ||
CONTRIBUTING.md | ||
deny.toml | ||
jest.config.js | ||
LICENSE-APACHE | ||
LICENSE-MIT | ||
package.json | ||
README.md | ||
rust-toolchain | ||
tsconfig.json | ||
yarn.lock |
Make the web (development) faster.
swc is a super-fast typescript / javascript compiler written in rust. It's a library for rust and javascript at the same time. If you are using swc from rust, see rustdoc and for most users, your entrypoint for using library will be parser.
If you are using swc from javascript, please refer to docs on the website.
Documentation
Check out the documentation in the website.
Features
Please see comparison with babel.
Performance
Please see benchmark results on the website.
Supporting swc
swc is a community-driven project, and is maintained by a group of volunteers. If you'd like to help support the future of the project, please consider:
- Giving developer time on the project. (Message us on Github discussions (preferred) or Slack for guidance!)
- Giving funds by becoming a sponsor (see https://opencollective.com/swc)!
Contributing
See CONTRIBUTING.md. You may also find the architecture documentation useful (ARCHITECTURE.md).
License
swc is primarily distributed under the terms of both the MIT license and the Apache License (Version 2.0).
See LICENSE-APACHE and LICENSE-MIT for details.