mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-24 11:10:01 +08:00
site: fix tnpm run deploy
This commit is contained in:
parent
e672f41e1e
commit
f433382180
@ -74,7 +74,7 @@ module.exports = {
|
||||
'create-react-class': 'preact-compat/lib/create-react-class',
|
||||
'react-router': 'react-router',
|
||||
});
|
||||
} else {
|
||||
} else if (isDev) {
|
||||
config.externals = Object.assign({}, config.externals, {
|
||||
react: 'React',
|
||||
'react-dom': 'ReactDOM',
|
||||
|
Loading…
Reference in New Issue
Block a user