diff --git a/react-packager/.babelrc b/react-packager/.babelrc index 6409e69a..45e1d6e9 100644 --- a/react-packager/.babelrc +++ b/react-packager/.babelrc @@ -6,9 +6,8 @@ "whitelist": [ "es6.arrowFunctions", "es6.blockScoping", - // This is the only place where we differ from transformer.js - "es6.constants", "es6.classes", + "es6.constants", "es6.destructuring", "es6.parameters", "es6.properties.computed", diff --git a/transformer.js b/transformer.js index 033ad579..59a1ea44 100644 --- a/transformer.js +++ b/transformer.js @@ -35,6 +35,7 @@ function transform(src, filename, options) { 'es6.arrowFunctions', 'es6.blockScoping', 'es6.classes', + 'es6.constants', 'es6.destructuring', 'es6.parameters', 'es6.properties.computed',