Skip to content

Commit

Permalink
electron issues fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
JasminDreasond committed Aug 14, 2023
1 parent 3d6bdd3 commit 3d77746
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html lang="en">

<head>
<base href="/" />
<base href="./" />
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
Expand Down
8 changes: 0 additions & 8 deletions vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ import path from 'node:path';
import { fileURLToPath } from 'url';

import electron from 'vite-plugin-electron';
/* import renderer from 'vite-plugin-electron-renderer'; */
import pkg from './package.json';

// Insert utils
Expand Down Expand Up @@ -216,13 +215,6 @@ export default defineConfig(({ command, mode }) => {

]));

/*
result.plugins.push(
// Use Node.js API in the Renderer-process
renderer()
);
*/

}

// Normal
Expand Down

0 comments on commit 3d77746

Please sign in to comment.