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
This plugin works fine with env vars defined in .env files, but it ignores all other env variables coming from vite like dev, prod, mode etc.
Basically there should be a possibility to use everything that is defined at import.meta.env. Now simple conditional tag is not working:
<script type="text/javascript" vite-if="import.meta.env.dev">
const var = 'abc';
</script>
The text was updated successfully, but these errors were encountered:
This plugin works fine with env vars defined in .env files, but it ignores all other env variables coming from vite like
dev
,prod
,mode
etc.Basically there should be a possibility to use everything that is defined at
import.meta.env
. Now simple conditional tag is not working:The text was updated successfully, but these errors were encountered: