mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-27 20:49:53 +08:00
Merge branch 'master' into master-to-merge-feature
This commit is contained in:
commit
ed95f64892
@ -134,7 +134,7 @@ module.exports = {
|
||||
if (isDev) {
|
||||
// eslint-disable-next-line
|
||||
config.devtool = 'source-map';
|
||||
|
||||
|
||||
// Resolve use react hook fail when yarn link or npm link
|
||||
// https://github.com/webpack/webpack/issues/8607#issuecomment-453068938
|
||||
config.resolve.alias = { ...config.resolve.alias, react: require.resolve('react') };
|
||||
|
Loading…
Reference in New Issue
Block a user