Skip to content
This repository has been archived by the owner on Nov 17, 2022. It is now read-only.

Commit

Permalink
fix: compile react-router and react-router-dom (#378)
Browse files Browse the repository at this point in the history
  • Loading branch information
ClarkXia authored Aug 1, 2022
1 parent 1bc10c5 commit 691bc6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/webpack-config/src/getCompilerPlugins.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
];
Expand Down

0 comments on commit 691bc6d

Please sign in to comment.