stacker.news/worker/loadenv.js

4 lines
125 B
JavaScript

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