mirror of https://github.com/jeecgboot/jeecg-boot
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
655 B
24 lines
655 B
6 years ago
|
'use strict'
|
||
|
const path = require('path')
|
||
|
|
||
|
function resolve (dir) {
|
||
|
return path.join(__dirname, '.', dir)
|
||
|
}
|
||
|
|
||
|
module.exports = {
|
||
|
context: path.resolve(__dirname, './'),
|
||
|
resolve: {
|
||
|
extensions: ['.js', '.vue', '.json'],
|
||
|
alias: {
|
||
|
'config': resolve('config'),
|
||
|
'@': resolve('src'),
|
||
|
'@views': resolve('src/views'),
|
||
|
'@comp': resolve('src/components'),
|
||
|
'@core': resolve('src/core'),
|
||
|
'@utils': resolve('src/utils'),
|
||
|
'@entry': resolve('src/entry'),
|
||
|
'@router': resolve('src/router'),
|
||
|
'@store': resolve('src/store')
|
||
|
}
|
||
|
},
|
||
|
}
|