diff --git a/config/config.js b/config/config.js index 2e412705ca4882cc098f9658a33bf33346779023..766780e5e0343bf5758812017b78db7e15baea3d 100644 --- a/config/config.js +++ b/config/config.js @@ -42,6 +42,12 @@ export default { '@antv/data-set': 'DataSet', rollbar: 'rollbar', }, + alias: { + components: path.resolve(__dirname, '../src/components/'), + utils: path.resolve(__dirname, '../src/utils/'), + assets: path.resolve(__dirname, '../src/assets/'), + common: path.resolve(__dirname, '../src/common/'), + }, ignoreMomentLocale: true, lessLoaderOptions: { javascriptEnabled: true,