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:
-
npm create solid
npm create solid
=> basic => ts app.config.ts:
import { defineConfig } from '@solidjs/start/config'export default defineConfig({ middleware: './src/middleware.ts',})
import { defineConfig } from '@solidjs/start/config'export default defineConfig({ middleware: './src/middleware.ts',})