Cargo Features
dprint-swc-ext has no features set by default.
[dependencies]
dprint-swc-ext = { version = "0.21.0", features = ["sourcemap", "view"] }
- sourcemap
-
Enables sourcemap of swc_common ^2.0.1
- view = allocator-api2, bumpalo
-
Affects
dprint-swc-ext::view
,test_helpers::get_swc_script
…
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.