Skip to content

Config: upgrade .babelrc#1799

Open
madeinfree wants to merge 1 commit intoAllenFang:masterfrom
madeinfree:upgrade-babel-presets
Open

Config: upgrade .babelrc#1799
madeinfree wants to merge 1 commit intoAllenFang:masterfrom
madeinfree:upgrade-babel-presets

Conversation

@madeinfree
Copy link
Contributor

The babel team recommand to use the babel-preset-env,
so I remove the stage-0 and es2015 to avoid the unused plugin and
install babel-preset-env to instead, maybe we can install plugin what use in bundle.

  • remove stage-0
  • remove es2015
  • install-preset babel-preset-env
  • install-plugin transform-object-rest-spread
  • install-plugin transform-class-properties

The babel team recommand to use the babel-preset-env,
so I remove the stage-0 and es2015 to avoid the unused plugin and
install babel-preset-env to instead,
maybe we can install plugin what use in bundle.

* remove stage-0
* remove es2015
* install-preset babel-preset-env
* install-plugin transform-object-rest-spread
* install-plugin transform-class-properties
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants