diff --git a/packages/react-scripts/config/webpack.config.dev.js b/packages/react-scripts/config/webpack.config.dev.js index eb58b2b8772..34769417aae 100644 --- a/packages/react-scripts/config/webpack.config.dev.js +++ b/packages/react-scripts/config/webpack.config.dev.js @@ -167,6 +167,7 @@ module.exports = { 'import/extensions': 0, 'no-prototype-builtins': 0, 'react/forbid-prop-types': 0, + 'react/jsx-filename-extension': 0, }, }, ignore: false, diff --git a/packages/react-scripts/config/webpack.config.prod.js b/packages/react-scripts/config/webpack.config.prod.js index cecc39910c3..972063bd890 100644 --- a/packages/react-scripts/config/webpack.config.prod.js +++ b/packages/react-scripts/config/webpack.config.prod.js @@ -164,6 +164,7 @@ module.exports = { 'import/extensions': 0, 'no-prototype-builtins': 0, 'react/forbid-prop-types': 0, + 'react/jsx-filename-extension': 0, }, }, ignore: false,