From 424bf4d005fd0d7d3a3cfa5e67cb7cf185ccebba Mon Sep 17 00:00:00 2001 From: Tom Gao Date: Sat, 6 Jul 2024 13:57:10 +0800 Subject: [PATCH] fix: electron react template --- templates/electron-react/vite.config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/electron-react/vite.config.ts b/templates/electron-react/vite.config.ts index 337fbf3..fa9f6e2 100644 --- a/templates/electron-react/vite.config.ts +++ b/templates/electron-react/vite.config.ts @@ -3,7 +3,7 @@ import electron from '@tomjs/vite-plugin-electron'; import react from '@vitejs/plugin-react-swc'; import { defineConfig } from 'vite'; import renderer from 'vite-plugin-electron-renderer'; -import pkg from '../../../create-app-legacy/template-electron-react/package.json'; +import pkg from './package.json'; // https://vitejs.dev/config/ export default defineConfig(() => {