ant-design/webpack.website.config.js
2016-03-23 10:43:43 +08:00

13 lines
290 B
JavaScript

module.exports = function(webpackConfig) {
webpackConfig.entry = {
index: './site/entry/index.jsx',
};
webpackConfig.resolve.root = process.cwd();
webpackConfig.resolve.alias = {
antd: 'index',
BrowserDemo: 'site/component/BrowserDemo',
};
return webpackConfig;
};