diff --git a/react-packager/.babelrc b/react-packager/.babelrc index 45e1d6e9..602c9fe6 100644 --- a/react-packager/.babelrc +++ b/react-packager/.babelrc @@ -9,6 +9,7 @@ "es6.classes", "es6.constants", "es6.destructuring", + "es6.modules", "es6.parameters", "es6.properties.computed", "es6.properties.shorthand", diff --git a/transformer.js b/transformer.js index 59a1ea44..dc137c62 100644 --- a/transformer.js +++ b/transformer.js @@ -37,6 +37,7 @@ function transform(src, filename, options) { 'es6.classes', 'es6.constants', 'es6.destructuring', + 'es6.modules', 'es6.parameters', 'es6.properties.computed', 'es6.properties.shorthand',