mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-18 11:18:14 +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;
|
|
};
|