Skip to content

Commit

Permalink
Merge pull request #10 from kdevcse/fix/update-vite-config-file-exten…
Browse files Browse the repository at this point in the history
…sions

Fix/update vite config file extensions
  • Loading branch information
kdevcse committed Apr 18, 2023
2 parents 14dc2d8 + 2aaf997 commit 661f0cd
Show file tree
Hide file tree
Showing 12 changed files with 935 additions and 16 deletions.
13 changes: 13 additions & 0 deletions .eslintrc.cjs
@@ -0,0 +1,13 @@
module.exports = {
extends: ['eslint:recommended', 'plugin:@typescript-eslint/recommended'],
parser: '@typescript-eslint/parser',
plugins: ['@typescript-eslint'],
root: true,
env: {
"browser": true,
"node": true
},
rules: {
"@typescript-eslint/ban-ts-comment": "off"
}
};
6 changes: 3 additions & 3 deletions forge.config.ts
Expand Up @@ -20,17 +20,17 @@ const config: ForgeConfig = {
{
// `entry` is just an alias for `build.lib.entry` in the corresponding file of `config`.
entry: 'src/main/main.ts',
config: 'vite.main.config.ts',
config: 'vite.main.config.mts',
},
{
entry: 'src/main/preload.ts',
config: 'vite.preload.config.ts',
config: 'vite.preload.config.mts',
},
],
renderer: [
{
name: 'main_window',
config: 'vite.renderer.config.ts',
config: 'vite.renderer.config.mts',
},
],
}),
Expand Down

0 comments on commit 661f0cd

Please sign in to comment.