diff --git a/babel-preset/configs/main.js b/babel-preset/configs/main.js index f56d7ed689d391..2e809e2a579c03 100644 --- a/babel-preset/configs/main.js +++ b/babel-preset/configs/main.js @@ -30,6 +30,7 @@ module.exports = { 'transform-es2015-shorthand-properties', 'transform-es2015-spread', 'transform-es2015-template-literals', + 'transform-es2015-literals', 'transform-flow-strip-types', 'transform-object-assign', 'transform-object-rest-spread', diff --git a/babel-preset/package.json b/babel-preset/package.json index 6c296dc8a2b745..3a6a1c984cab9b 100644 --- a/babel-preset/package.json +++ b/babel-preset/package.json @@ -1,6 +1,6 @@ { "name": "babel-preset-react-native", - "version": "1.8.0", + "version": "1.9.0", "description": "Babel preset for React Native applications", "main": "index.js", "repository": "https://github.com/facebook/react-native/tree/master/babel-preset", @@ -23,13 +23,14 @@ "babel-plugin-syntax-jsx": "^6.5.0", "babel-plugin-syntax-trailing-function-commas": "^6.5.0", "babel-plugin-transform-class-properties": "^6.5.0", - "babel-plugin-transform-es2015-function-name": "^6.5.0", "babel-plugin-transform-es2015-arrow-functions": "^6.5.0", "babel-plugin-transform-es2015-block-scoping": "^6.5.0", "babel-plugin-transform-es2015-classes": "^6.5.0", "babel-plugin-transform-es2015-computed-properties": "^6.5.0", "babel-plugin-transform-es2015-destructuring": "^6.5.0", "babel-plugin-transform-es2015-for-of": "^6.5.0", + "babel-plugin-transform-es2015-function-name": "^6.5.0", + "babel-plugin-transform-es2015-literals": "^6.5.0", "babel-plugin-transform-es2015-modules-commonjs": "^6.5.0", "babel-plugin-transform-es2015-parameters": "^6.5.0", "babel-plugin-transform-es2015-shorthand-properties": "^6.5.0", diff --git a/babel-preset/plugins.js b/babel-preset/plugins.js index ceecb1889272a9..07e3ec3a6116a6 100644 --- a/babel-preset/plugins.js +++ b/babel-preset/plugins.js @@ -26,6 +26,7 @@ module.exports = { 'babel-plugin-transform-es2015-shorthand-properties': require('babel-plugin-transform-es2015-shorthand-properties'), 'babel-plugin-transform-es2015-spread': require('babel-plugin-transform-es2015-spread'), 'babel-plugin-transform-es2015-template-literals': require('babel-plugin-transform-es2015-template-literals'), + 'babel-plugin-transform-es2015-literals' : require('babel-plugin-transform-es2015-literals'), 'babel-plugin-transform-flow-strip-types': require('babel-plugin-transform-flow-strip-types'), 'babel-plugin-transform-object-assign': require('babel-plugin-transform-object-assign'), 'babel-plugin-transform-object-rest-spread': require('babel-plugin-transform-object-rest-spread'), diff --git a/package.json b/package.json index aa91a3b49f11ab..4adea31612791e 100644 --- a/package.json +++ b/package.json @@ -136,7 +136,7 @@ "babel-plugin-transform-object-rest-spread": "^6.6.5", "babel-polyfill": "^6.6.1", "babel-preset-es2015-node": "^4.0.2", - "babel-preset-react-native": "^1.8.0", + "babel-preset-react-native": "^1.9.0", "babel-register": "^6.6.0", "babel-types": "^6.6.4", "babylon": "^6.6.4",