diff --git a/packages/webpack-config/src/getCompilerPlugins.ts b/packages/webpack-config/src/getCompilerPlugins.ts index ba355a4dc..981d8cd08 100644 --- a/packages/webpack-config/src/getCompilerPlugins.ts +++ b/packages/webpack-config/src/getCompilerPlugins.ts @@ -10,7 +10,7 @@ const SKIP_COMPILE = [ // polyfill and helpers 'core-js', 'core-js-pure', '@swc/helpers', '@babel/runtime', // built-in runtime - 'react', 'react-dom', 'react-router', 'react-router-dom', + 'react', 'react-dom', // dev dependencies '@pmmmwh/react-refresh-webpack-plugin', 'webpack', 'webpack-dev-server', 'react-refresh', ];