Fix webpack errorin demo.js: a dependency to an entry point is not allowed

This commit is contained in:
afc163 2015-12-22 15:15:52 +08:00
parent b8d14936e9
commit 2d37a00fc2

View File

@ -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'),