swc/ecmascript/codegen/Cargo.toml
Donny/강동윤 98cc79a2be
fix(es/minifer): Fix bugs (#2397)
swc_ecma_codegen:
 - Fix sourcemap of `export` tokens.
 - Fix codegen of numeric operands in left of a binary expression.
 - Fix codegen of unary operations.

swc_ecma_minifier:
 - Visit `AssignPatProp.valie`.
 - Move `inline_prevented` to analyzer.
 - Add `Ctx.dont_invoke_iife`.
 - `iife`: Check for `arugments`

swc:
 - `inline_sources_content`: true by default for `minify()`.
2021-10-11 07:44:42 +00:00

28 lines
1006 B
TOML

[package]
authors = ["강동윤 <kdy1997.dev@gmail.com>"]
description = "Ecmascript code generator for the swc project."
documentation = "https://rustdoc.swc.rs/swc_ecma_codegen/"
edition = "2018"
include = ["Cargo.toml", "src/**/*.rs"]
license = "Apache-2.0/MIT"
name = "swc_ecma_codegen"
repository = "https://github.com/swc-project/swc.git"
version = "0.74.4"
[dependencies]
bitflags = "1"
memchr = "2.4.1"
num-bigint = {version = "0.2", features = ["serde"]}
once_cell = "1.8.0"
sourcemap = "6"
swc_atoms = {version = "0.2", path = "../../atoms"}
swc_common = {version = "0.13.0", path = "../../common"}
swc_ecma_ast = {version = "0.54.0", path = "../ast"}
swc_ecma_codegen_macros = {version = "0.6.0", path = "./macros"}
swc_ecma_parser = {version = "0.73.0", path = "../parser"}
[dev-dependencies]
swc_common = {version = "0.13.0", path = "../../common", features = ["sourcemap"]}
swc_node_base = {version = "0.4.0", path = "../../node/base"}
testing = {version = "0.14.0", path = "../../testing"}