I use <import.meta.env.DEV> to check whether I am ...
# javascript
d
I use import.meta.env.DEV to check whether I am doing a build for development or production and configure my logger accordingly. However, I would now also like to store parameters for different systems independently of the build method (dev/prod). Can I pass a profile when building and access it with import.meta.env in the browser js client?