mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-03 20:49: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;
|
|
};
|