mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-27 04:36:19 +08:00
13 lines
290 B
JavaScript
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;
|
|
};
|