ant-design/webpack.website.config.js

13 lines
290 B
JavaScript
Raw Normal View History

2016-02-29 12:16:09 +08:00
module.exports = function(webpackConfig) {
webpackConfig.entry = {
index: './site/entry/index.jsx',
};
2016-03-23 10:43:43 +08:00
webpackConfig.resolve.root = process.cwd();
webpackConfig.resolve.alias = {
antd: 'index',
BrowserDemo: 'site/component/BrowserDemo',
};
2016-02-29 12:16:09 +08:00
return webpackConfig;
};