Skip to content

Commit 2770bfe

Browse files
mrmckebabhiisheek
authored andcommitted
Fix ESLint Babel preset resolution (facebook#11547)
1 parent 14a5835 commit 2770bfe

File tree

1 file changed

+1
-1
lines changed
  • packages/eslint-config-react-app

1 file changed

+1
-1
lines changed

packages/eslint-config-react-app/base.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ module.exports = {
3333
sourceType: 'module',
3434
requireConfigFile: false,
3535
babelOptions: {
36-
presets: ['babel-preset-react-app/prod'],
36+
presets: [require.resolve('babel-preset-react-app/prod')],
3737
},
3838
},
3939

0 commit comments

Comments
 (0)