Skip to content

Commit 431f078

Browse files
committed
Fix ESLint Babel preset resolution
1 parent d7b23c8 commit 431f078

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)