添加文件快捷名称 module.exports = { chainWebpack: config => { config.resolve.alias .set("@", resolve("src")) }, }