From 5c527a8b181526755d5f53fef35666c4790034ce Mon Sep 17 00:00:00 2001 From: Pankaj Kumar Singh Date: Mon, 7 Feb 2022 13:58:21 +0100 Subject: [PATCH] fix: workaround for Can't resolve 'react/jsx-runtime' https://github.com/facebook/create-react-app/issues/11769#issuecomment-996515228 --- webpack.config.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/webpack.config.js b/webpack.config.js index 1af777da..f8befab0 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -29,6 +29,12 @@ module.exports = { test: /\.(png|woff|woff2|eot|ttf|svg)$/, loader: 'url-loader?limit=100000', }, + { + test: /\.m?js/, + resolve: { + fullySpecified: false, + }, + }, ], }, resolve: {