mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-27 20:49:53 +08:00
Fix webpack errorin demo.js: a dependency to an entry point is not allowed
This commit is contained in:
parent
b8d14936e9
commit
2d37a00fc2
@ -22,6 +22,7 @@ window.require = function (path) {
|
||||
return result;
|
||||
};
|
||||
|
||||
require('../style/index.less');
|
||||
window['css-animation'] = require('css-animation');
|
||||
window['react-router'] = require('react-router');
|
||||
window.CopyToClipboard = require('react-copy-to-clipboard');
|
||||
@ -35,7 +36,6 @@ window.ReactDOM = ReactDOM;
|
||||
window['object-assign'] = require('object-assign');
|
||||
window['classnames'] = require('classnames');
|
||||
window['reqwest'] = require('reqwest');
|
||||
require('./importCss');
|
||||
|
||||
antd.DatePicker.locale = {
|
||||
en_US: require('../components/date-picker/locale/en_US'),
|
||||
|
Loading…
Reference in New Issue
Block a user