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