Appearance
1. 支持别名
js
{
resolve:{
alias:[
// 跟webpack别名方式不同
{
find: /^@\//,
replacement: pathResolve("src/") + "/",
},
]
}
}