diff --git a/babel-preset/configs/main.js b/babel-preset/configs/main.js index 7da378c61..da3435705 100644 --- a/babel-preset/configs/main.js +++ b/babel-preset/configs/main.js @@ -40,8 +40,6 @@ var preset = { ['transform-es2015-for-of', { loose: true }], require('../transforms/transform-symbol-member'), ]), - retainLines: true, - sourceMaps: false, }; var env = process.env.BABEL_ENV || process.env.NODE_ENV; diff --git a/babel-preset/package.json b/babel-preset/package.json index 7e88fee5d..7ccd20627 100644 --- a/babel-preset/package.json +++ b/babel-preset/package.json @@ -1,6 +1,6 @@ { "name": "babel-preset-react-native", - "version": "1.9.2", + "version": "2.0.0-alpha.1", "description": "Babel preset for React Native applications", "main": "index.js", "repository": "https://github.com/facebook/react-native/tree/master/babel-preset", diff --git a/jest/preprocessor.js b/jest/preprocessor.js index b1a71d7b0..bd84bd5b8 100644 --- a/jest/preprocessor.js +++ b/jest/preprocessor.js @@ -39,6 +39,7 @@ module.exports = { inlineRequires: true, platform: '', projectRoot: '', + retainLines: true, }, src, }).code;