Skip to content

Commit

Permalink
Try to add dynamic worker (#3973)
Browse files Browse the repository at this point in the history
* Add

* Add

* Phase 1

* Add

* Add

* Update index.ts

* Add

* Last fix

* Remove

* Update shiinobi.ts

* Prettier

* Update index.ts

* Update index.d.ts
  • Loading branch information
baseplate-admin authored Aug 12, 2024
1 parent 61a2d2d commit ef9fd1c
Show file tree
Hide file tree
Showing 10 changed files with 65 additions and 543 deletions.
11 changes: 10 additions & 1 deletion seeder/electron.vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export default defineConfig({
$constants: resolve(__dirname, "./src/main/constants"),
$interfaces: resolve(__dirname, "./src/main/interfaces"),
$backend: resolve(__dirname, "./src/main/backend"),
$worker: resolve(__dirname, "./src/main/workers"),
$workers: resolve(__dirname, "./src/main/workers"),
$utils: resolve(__dirname, "./src/main/utils")
}
}
Expand All @@ -39,6 +39,15 @@ export default defineConfig({
},
chunkSizeWarningLimit: undefined,
minify: "terser"
},
resolve: {
alias: {
$constants: resolve(__dirname, "./src/main/constants"),
$interfaces: resolve(__dirname, "./src/main/interfaces"),
$backend: resolve(__dirname, "./src/main/backend"),
$workers: resolve(__dirname, "./src/main/workers"),
$utils: resolve(__dirname, "./src/main/utils")
}
}
},

Expand Down
Loading

0 comments on commit ef9fd1c

Please sign in to comment.