1.暴露配置
2.在we‘bpack.config.js中修改
在alias增加配置
eg
react中配置路径别名
原文:https://www.cnblogs.com/zpsylgdx/p/12872793.html