You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello and thanks for the repo!
We have a single codebase deployed on different instances, which also have different trackers. Current implementation only checks for ENVs at build time while introduced in v3 format NUXT_PUBLIC_* makes a little confusion, as this is also a prefix for variables defined for runtimeConfig.
I suggest to make it a goal for v4 and do a refactor. I also willing to help to investigate, how to do this in the most painless way
The text was updated successfully, but these errors were encountered:
Of course!
To simplify, let's say we have a 2 environments where we launch our project. Each one has it's own settings for backend urls, keys and, particularly, analytics. We are making a build without any .env presented (except some feature flags) and later starting the output like node --env-file=".env" .output/server/index.mjs
Currently, the build process have to be aware of umami settings in order to include/exclude runtime files. But I expect at least to be able to override host/id at runtime, preserving the other params.
Hello and thanks for the repo!
We have a single codebase deployed on different instances, which also have different trackers. Current implementation only checks for ENVs at build time while introduced in v3 format
NUXT_PUBLIC_*
makes a little confusion, as this is also a prefix for variables defined forruntimeConfig
.I suggest to make it a goal for v4 and do a refactor. I also willing to help to investigate, how to do this in the most painless way
The text was updated successfully, but these errors were encountered: