From 71eaf7a7ae36507dd591f8dc5854903390d0f0f8 Mon Sep 17 00:00:00 2001 From: meteorlxy Date: Tue, 10 Sep 2024 02:16:53 +0800 Subject: [PATCH] chore(bundler-vite): move user config plugin to the end --- packages/bundler-vite/src/resolveViteConfig.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/bundler-vite/src/resolveViteConfig.ts b/packages/bundler-vite/src/resolveViteConfig.ts index ac4cadeed8..07e101d3d1 100644 --- a/packages/bundler-vite/src/resolveViteConfig.ts +++ b/packages/bundler-vite/src/resolveViteConfig.ts @@ -29,8 +29,8 @@ export const resolveViteConfig = ({ }, plugins: [ vuepressMainPlugin({ app, isBuild, isServer }), - vuepressUserConfigPlugin(options), vuepressVuePlugin(options), + vuepressUserConfigPlugin(options), ], }, // some vite options would not take effect inside a plugin, so we still need to merge them here in addition to userConfigPlugin