16 lines
527 B
JavaScript
16 lines
527 B
JavaScript
const path = require('path');
|
|
|
|
module.exports = {
|
|
webpack: {
|
|
alias: {
|
|
'@': path.resolve(__dirname, 'src'),
|
|
'@/components': path.resolve(__dirname, 'src/components'),
|
|
'@/api': path.resolve(__dirname, 'src/api'),
|
|
'@/types': path.resolve(__dirname, 'src/types'),
|
|
'@/hooks': path.resolve(__dirname, 'src/hooks'),
|
|
'@/utils': path.resolve(__dirname, 'src/utils'),
|
|
'@/styles': path.resolve(__dirname, 'src/styles'),
|
|
'@/pages': path.resolve(__dirname, 'src/pages'),
|
|
},
|
|
},
|
|
};
|