diff --git a/packages/webpack5/__tests__/configuration/__snapshots__/react.spec.ts.snap b/packages/webpack5/__tests__/configuration/__snapshots__/react.spec.ts.snap index 10de0bf00..102570df6 100644 --- a/packages/webpack5/__tests__/configuration/__snapshots__/react.spec.ts.snap +++ b/packages/webpack5/__tests__/configuration/__snapshots__/react.spec.ts.snap @@ -317,7 +317,7 @@ exports[`react configuration > android > adds ReactRefreshWebpackPlugin when HMR overlay: false, forceEnable: false, exclude: /node_modules/i, - include: /\\\\.([jt]sx?|flow)$/i + include: /\\\\.([cm]js|[jt]sx?|flow)$/i } ) ], @@ -961,7 +961,7 @@ exports[`react configuration > ios > adds ReactRefreshWebpackPlugin when HMR ena overlay: false, forceEnable: false, exclude: /node_modules/i, - include: /\\\\.([jt]sx?|flow)$/i + include: /\\\\.([cm]js|[jt]sx?|flow)$/i } ) ],