Files
react-native-community-cli/babel.config.js
T
Drapich Piotr 885f2c28d4 chore: use @react-native-community/eslint-config (#205)
Summary:
---------

I changed @callstack/eslint-config to @react-native-community/eslint-config and fixed all lint issues.


Test Plan:
----------

Green CI
2019-03-05 20:52:51 +01:00

18 lines
406 B
JavaScript

module.exports = {
babelrcRoots: ['packages/*'],
presets: [
[
require.resolve('@babel/preset-env'),
{
targets: {node: 8},
useBuiltIns: 'entry',
},
],
require.resolve('@babel/preset-flow'),
],
plugins: [
require.resolve('@babel/plugin-transform-strict-mode'),
[require.resolve('@babel/plugin-transform-modules-commonjs'), {lazy: true}],
],
};