fix antd.js for jsfiddle

This commit is contained in:
afc163 2016-01-20 15:04:53 +08:00
parent 57ff27f382
commit 3e94a89004

View File

@ -1,6 +1,6 @@
var config = require('./webpack.config');
config.entry = {
'antd': ['./index.js', './style/index.less']
'antd': ['./style/index.less', './index.js']
};
config.externals = {
'react': {
@ -18,4 +18,4 @@ config.externals = {
};
config.output.library = 'antd';
config.output.libraryTarget = 'umd';
module.exports = config;
module.exports = config;