59

Webpack下多环境配置的思路

 5 years ago
source link: https://juejin.im/post/5b319c5e518825749d2d60be
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
前言 由于前后端分离的前端应用脱离了后端的支持,在单独开发前端应用时,页面调试时使用固定的开发环境地址还好,如果出现在本地开发时需要调试不同环境的远端API,或者需要将应用部署到不同环境的服务器上时,如果不将这些环境对应的服务器地址、环境专属变量等单独配置,也

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK