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) } }