From e617f344f886376c4be2cc5a044450954f609c18 Mon Sep 17 00:00:00 2001 From: thislight Date: Sat, 4 Jan 2025 17:36:56 +0800 Subject: [PATCH] fixup! update solid-devtools --- vite.config.ts | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/vite.config.ts b/vite.config.ts index 02bc4a8..d23c5cb 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -70,16 +70,17 @@ export default defineConfig(({ mode }) => { plugins: [ devtools({ autoname: true, - locator: devConf["DEV_LOCATOR_EDITOR"] ? { - targetIDE: - (devConf["DEV_LOCATOR_EDITOR"] as - | "vscode" - | "atom" - | "webstorm" - | "vscode-insiders") || "vscode", - componentLocation: true, - jsxLocation: true, - } : undefined, + locator: devConf["DEV_LOCATOR_EDITOR"] + ? { + targetIDE: devConf["DEV_LOCATOR_EDITOR"] as + | "vscode" + | "atom" + | "webstorm" + | "vscode-insiders", + componentLocation: true, + jsxLocation: true, + } + : undefined, }), suid(), solid(),