From f281c7510a1cb1bdd08472b4529ebd483868d3b3 Mon Sep 17 00:00:00 2001 From: Pooya Parsa Date: Thu, 19 Nov 2020 16:07:40 +0100 Subject: [PATCH] fix inject --- src/env.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/env.ts b/src/env.ts index c371187e..2aa55c3a 100644 --- a/src/env.ts +++ b/src/env.ts @@ -11,7 +11,7 @@ export function env (...presets: Preset[]) { Object.assign(options.alias, preset.alias) } if (preset.inject) { - Object.assign(options.alias, preset.inject) + Object.assign(options.inject, preset.inject) } }