Cargo Features

swc_ecma_codegen has no features set by default.

[dependencies]
swc_ecma_codegen = { version = "4.0.2", features = ["serde-impl"] }
serde-impl

This does not enable serde for ast nodes.

Enables serde of swc_ecma_ast