From 54e5ed0bb47964ddcbc8a5483f8b6ffe42704beb Mon Sep 17 00:00:00 2001 From: wuzequanyouzi <49070557+wuzequanyouzi@users.noreply.github.com> Date: Tue, 16 Apr 2024 01:43:43 +0800 Subject: [PATCH] chore: Update vue template config (#607) Co-authored-by: Aaron --- templates/vue/wxt.config.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/templates/vue/wxt.config.ts b/templates/vue/wxt.config.ts index 56c84868..d12f10ac 100644 --- a/templates/vue/wxt.config.ts +++ b/templates/vue/wxt.config.ts @@ -10,5 +10,9 @@ export default defineConfig({ }, vite: () => ({ plugins: [vue()], + build: { + // Enabling sourcemaps with Vue during development is known to cause problems with Vue + sourcemap: false, + }, }), });