Conditionals using import.meta.env.SSR or any other variable fails
To reproduce the issue:
- Clone the repo.
- Run
npm i
. - Run
npm dev
. - Open your browser and navigate to your instance.
- You should see a log in the console with the ENV variables.
- Go to
/imports/server.ts
and uncomment the lines with the conditional. - Hit refresh and you will see the error in the console.