Skip to content

Commit

Permalink
chore(define): remove inconsistent comment with import.meta.env repla…
Browse files Browse the repository at this point in the history
…cement in lib mode (#12152)
  • Loading branch information
smeng9 authored Feb 22, 2023
1 parent 91fac1c commit 2556f88
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion packages/vite/src/node/plugins/define.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ export function definePlugin(config: ResolvedConfig): Plugin {
}

// during dev, import.meta properties are handled by importAnalysis plugin.
// ignore replace import.meta.env in lib build
const importMetaKeys: Record<string, string> = {}
const importMetaFallbackKeys: Record<string, string> = {}
if (isBuild) {
Expand Down

0 comments on commit 2556f88

Please sign in to comment.