خرید بک لینک

Vote count: 0

I have a ApiCaller js module which generate calls to our api server for data. It has const field API_URL which points to server url. This API_URL const changes for dev and prod environments. So when I need to deploy to dev I need to change that url and vice-versa.

I want these configuration parameters outside the code and during build process I change them dynamically so that we can build with different settings.

I am using webpack to bundle my javascript files.

asked 33 secs ago

برچسب: نویسنده: استخدام کار تاريخ: يکشنبه 13 تير 1395 ساعت: 3:27

صفحه بندی