Convert the constants transform plugin to a validation plugin

A follow up from https://github.com/babel/babel/pull/2969 were we added support for consts in the block-scoping plugin.
This commit is contained in:
Amjad Masad
2015-11-10 17:45:29 -08:00
parent 0711fa67b4
commit a17d62ca2b
39 changed files with 64 additions and 86 deletions

View File

@@ -1,3 +1,3 @@
{
"plugins": ["transform-es2015-constants", "transform-es2015-block-scoping", "transform-es2015-parameters", "transform-es2015-destructuring", "transform-es2015-modules-commonjs"]
"plugins": ["check-es2015-constants", "transform-es2015-block-scoping", "transform-es2015-parameters", "transform-es2015-destructuring", "transform-es2015-modules-commonjs"]
}