Are there any alternatives to .env files that make it possible to modify configuration in production?
I’m creating a new app using Vite. The app needs a baseURL to communicate with an external API.
Are there any alternatives to .env files that make it possible to modify configuration in production?
I’m creating a new app using Vite. The app needs a baseURL to communicate with an external API.
this in an IIFE is undefined when building with vite
I have tried to migrate a CRA to vite. One remaining obstacle is a dependency of a dependency that has this code:
Vite built to its relative dist folder
I have started using vite and everything works fine on dev but when doing build
nothing displayed because it build to the root /
which is a problem because I want to deploy it to a server as in https://example.com/iframes/app
so I can then use an iframe to access this url.