mirror of
https://github.com/swc-project/swc.git
synced 2024-10-05 04:39:06 +03:00
Bugfixes (#989)
swc_ecmascript: - Make react / const modules configurable
This commit is contained in:
parent
5000296967
commit
db4ce50373
@ -15,6 +15,9 @@ utils = ["swc_ecma_utils"]
|
||||
transforms = ["swc_ecma_transforms"]
|
||||
visit = ["swc_ecma_visit"]
|
||||
|
||||
react = ["swc_ecma_transforms", "swc_ecma_transforms/react"]
|
||||
const-modules = ["swc_ecma_transforms", "swc_ecma_transforms/const-modules"]
|
||||
|
||||
[dependencies]
|
||||
swc_ecma_ast = { version = "0.29.0", path ="./ast" }
|
||||
swc_ecma_codegen = { version = "0.33.0", path ="./codegen", optional = true }
|
||||
|
@ -3,6 +3,7 @@
|
||||
set -eu
|
||||
|
||||
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
|
||||
cd $DIR
|
||||
|
||||
git checkout master
|
||||
changed=0
|
||||
|
Loading…
Reference in New Issue
Block a user