Commit b536754c authored by sorrycc's avatar sorrycc Committed by 陈帅

Revert "alias is not needed, use @/ for src directory instead"

This reverts commit 84fab59c5a66828a6ccf1176796e508af47701da.
parent 349142fe
...@@ -42,6 +42,12 @@ export default { ...@@ -42,6 +42,12 @@ export default {
'@antv/data-set': 'DataSet', '@antv/data-set': 'DataSet',
rollbar: 'rollbar', 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, ignoreMomentLocale: true,
lessLoaderOptions: { lessLoaderOptions: {
javascriptEnabled: true, javascriptEnabled: true,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment