swc/crates/swc_ecma_codegen
David Sherret a343e7ccae
feat(es/codegen): Add ability to set indentation string via rust api (#7494)
**Description:**

This adds the ability to set the indentation string of JsWriter via the Rust API. The motivation behind this change is to allow people to use other indentations in the emit output like tabs or two spaces via the Rust API.
2023-06-07 03:01:16 +00:00
..
benches build(cargo): Update rustc to nightly-2023-03-20 (#7170) 2023-03-30 08:06:02 +00:00
examples build(cargo): Update rustc to nightly-2023-03-20 (#7170) 2023-03-30 08:06:02 +00:00
scripts chore(scripts): Use cargo profile instruments instead of cargo instruments (#3086) 2021-12-21 16:09:19 +09:00
src feat(es/codegen): Add ability to set indentation string via rust api (#7494) 2023-06-07 03:01:16 +00:00
tests fix(es/codegen): Emit ; for TsImportEqualsDecl (#7464) 2023-05-30 03:22:07 +00:00
.gitignore doc(api/rust): Add an example for generating code and sourcemap (#4005) 2022-03-14 03:52:59 +00:00
Cargo.toml chore: Publish crates 2023-05-30 05:18:06 +00:00