Browse Source

fix antd.js for jsfiddle

pull/897/head
afc163 9 years ago
parent
commit
3e94a89004
  1. 4
      webpack.antd.config.js

4
webpack.antd.config.js

@ -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;

Loading…
Cancel
Save