We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1fa1dc4 commit f7c134dCopy full SHA for f7c134d
packages/scripts/src/extension/dotenv.ts
@@ -4,7 +4,7 @@ import type { BuildFlags } from './flags.ts'
4
import { ManifestFile } from '../../../mask/.webpack/flags.ts'
5
6
export function applyDotEnv(flags: BuildFlags) {
7
- // if (flags.mode === 'production') return
+ if (flags.mode === 'production') return
8
9
const { parsed, error } = config({ path: new URL('./.env/dev-preference', ROOT_PATH) })
10
if (error && !error.message.includes('no such file or directory')) {
0 commit comments