Crate swc_ecma_compat_es2015

Source

Re-exports§

pub use self::classes::classes;
pub use self::computed_props::computed_properties;
pub use self::destructuring::destructuring;
pub use self::for_of::for_of;
pub use self::new_target::new_target;
pub use self::parameters::parameters;
pub use self::spread::spread;
pub use self::template_literal::template_literal;

Modules§

classes
computed_props
destructuring
for_of
generator
new_target
parameters
regenerator
spread
template_literal

Structs§

Config

Functions§

arrow
Compile ES2015 arrow functions to ES5
block_scoped_functions
block_scoping
TODO(kdy1): Optimization
duplicate_keys
es2015
Compiles es2015 to es5.
function_name
@babel/plugin-transform-function-name
instance_of
@babel/plugin-transform-instanceof
object_super
shorthand
Compile ES2015 shorthand properties to ES5
sticky_regex
Compile ES2015 sticky regex to an ES5 RegExp constructor
typeof_symbol