From e29ca33f8248b4bfaa68c711899a54bb30035fa3 Mon Sep 17 00:00:00 2001 From: Aaron Date: Wed, 3 Apr 2024 14:15:55 -0500 Subject: [PATCH] Add missing cleanup from PR --- src/core/builders/vite/index.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/core/builders/vite/index.ts b/src/core/builders/vite/index.ts index 6be43db4..1f4ddfb4 100644 --- a/src/core/builders/vite/index.ts +++ b/src/core/builders/vite/index.ts @@ -31,9 +31,7 @@ export async function createViteBuilder( * Returns the base vite config shared by all builds based on the inline and user config. */ const getBaseConfig = async () => { - const config: vite.InlineConfig = await wxtConfig.vite({ - ...wxtConfig.env, - }); + const config: vite.InlineConfig = await wxtConfig.vite(wxtConfig.env); config.root = wxtConfig.root; config.configFile = false;