From 86520dc7b7223b77c5f65e63f8d9a775caaec43c Mon Sep 17 00:00:00 2001 From: sorrycc Date: Tue, 14 Aug 2018 16:39:31 +0800 Subject: [PATCH] alias is not needed, use @/ for src directory instead --- config/config.js | 6 ------ 1 file changed, 6 deletions(-) diff --git a/config/config.js b/config/config.js index 766780e5..2e412705 100644 --- a/config/config.js +++ b/config/config.js @@ -42,12 +42,6 @@ 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, -- GitLab