From 0a3839882e873a3dca22a0b1991620515632b8b7 Mon Sep 17 00:00:00 2001 From: Mikael Finstad Date: Tue, 6 Aug 2024 15:57:24 +0200 Subject: [PATCH] change electron vite config to ts --- .eslintrc.cjs | 2 +- electron.vite.config.js => electron.vite.config.ts | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) rename electron.vite.config.js => electron.vite.config.ts (98%) diff --git a/.eslintrc.cjs b/.eslintrc.cjs index df136786..4e50762b 100644 --- a/.eslintrc.cjs +++ b/.eslintrc.cjs @@ -25,7 +25,7 @@ module.exports = { }, }, { - files: ['./script/**/*.{js,cjs,mjs,jsx,ts,tsx,mts}', 'electron.vite.config.js'], + files: ['./script/**/*.{js,cjs,mjs,jsx,ts,tsx,mts}', 'electron.vite.config.ts'], rules: { 'import/no-extraneous-dependencies': ['error', { devDependencies: true, diff --git a/electron.vite.config.js b/electron.vite.config.ts similarity index 98% rename from electron.vite.config.js rename to electron.vite.config.ts index 3cfa5aca..29a703cd 100644 --- a/electron.vite.config.js +++ b/electron.vite.config.ts @@ -31,7 +31,6 @@ export default defineConfig({ server: { port: 3001, host: '127.0.0.1', - https: false, }, }, });