stacker.news/worker/loadenv.js
2024-08-28 09:38:41 -05:00

4 lines
125 B
JavaScript

import nextEnv from '@next/env'
const { loadEnvConfig } = nextEnv
loadEnvConfig('.', process.env.NODE_ENV === 'development')