From 1d6300f655a1f555df5c82bd0ea57210290f4e9c Mon Sep 17 00:00:00 2001 From: sabertazimi Date: Thu, 14 Oct 2021 21:04:45 +0800 Subject: [PATCH] fix(eslint-bod): rectify ESLint Babel preset resolution --- packages/eslint-config-bod/base.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/eslint-config-bod/base.js b/packages/eslint-config-bod/base.js index 3a2714ce3..6cb8e9e99 100644 --- a/packages/eslint-config-bod/base.js +++ b/packages/eslint-config-bod/base.js @@ -33,7 +33,7 @@ module.exports = { sourceType: 'module', requireConfigFile: false, babelOptions: { - presets: ['babel-preset-react-app/prod'], + presets: [require.resolve('babel-preset-react-app/prod')], }, },