From 56b373bbe4624383bac945bc14784632d6d2f869 Mon Sep 17 00:00:00 2001 From: gweesin Date: Mon, 16 Jun 2025 22:14:39 +0800 Subject: [PATCH] fix: fix the path function cannot be found in the @vue/typescript-plugin --- vite.preview.config.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/vite.preview.config.ts b/vite.preview.config.ts index 422ccbab..0f08fda6 100644 --- a/vite.preview.config.ts +++ b/vite.preview.config.ts @@ -8,6 +8,7 @@ export default defineConfig({ alias: { '@vue/compiler-dom': '@vue/compiler-dom/dist/compiler-dom.cjs.js', '@vue/compiler-core': '@vue/compiler-core/dist/compiler-core.cjs.js', + 'node:path': 'path-browserify', }, }, build: {