From 9466ee7d9d39a9d2d496089305586616ed3a25f8 Mon Sep 17 00:00:00 2001 From: HRiggs Date: Wed, 3 Dec 2025 22:54:42 -0500 Subject: [PATCH] hiuybv --- electron-app/package.json | 1 + electron-app/vite.config.js | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/electron-app/package.json b/electron-app/package.json index 868fb71..286ac32 100644 --- a/electron-app/package.json +++ b/electron-app/package.json @@ -2,6 +2,7 @@ "name": "rmtpocketwatcher", "version": "1.0.1", "description": "Real-time AUEC price tracking desktop application", + "type": "module", "main": "dist/main/index.js", "scripts": { "dev": "vite", diff --git a/electron-app/vite.config.js b/electron-app/vite.config.js index 4e60fe0..30cbad1 100644 --- a/electron-app/vite.config.js +++ b/electron-app/vite.config.js @@ -1,7 +1,7 @@ -const { defineConfig } = require('vite'); -const react = require('@vitejs/plugin-react'); +import { defineConfig } from 'vite'; +import react from '@vitejs/plugin-react'; -module.exports = defineConfig({ +export default defineConfig({ plugins: [react()], root: '.', build: {