Prod Environment Variables Please
I'm maybe just doing something silly but when i do an npm run dev i can access env variables but not after an npm run build, i made a simple reproduction:
-
app.config.ts:
middleware.ts:
.env:
-
-
-
npm create solid => basic => tsapp.config.ts:
middleware.ts:
.env:
test=aloha-
npm run dev refresh app, see log of env variable-
npm run build and then npm run start, refresh app, env variable log is undefined 