Skip to content

Commit

Permalink
chore: remove config
Browse files Browse the repository at this point in the history
  • Loading branch information
bluwy committed Nov 28, 2022
1 parent 44b118b commit 665ccb2
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions packages/vite/src/node/env.ts
Original file line number Diff line number Diff line change
@@ -1,13 +1,9 @@
import fs from 'node:fs'
import { config, parse } from 'dotenv'
import { parse } from 'dotenv'
import { expand } from 'dotenv-expand'
import { arraify, lookupFile } from './utils'
import type { UserConfig } from './config'

config({
debug: process.env.DEBUG?.includes('vite:dotenv')
})

export function loadEnv(
mode: string,
envDir: string,
Expand Down

0 comments on commit 665ccb2

Please sign in to comment.