feat: update

This commit is contained in:
mozzie 2024-09-10 14:25:15 +08:00
parent 3ab485fb2b
commit e5709343f4
3 changed files with 22 additions and 773 deletions

View File

@ -85,8 +85,6 @@
"vite": "^5.1.6",
"vite-plugin-electron": "^0.28.6",
"vite-plugin-electron-renderer": "^0.14.5",
"@types/lodash": "4.17.7",
"vite-plugin-static-copy": "1.0.6",
"vite-plugin-node-polyfills": "0.22.0"
"@types/lodash": "4.17.7"
}
}

View File

@ -2,13 +2,11 @@ import { defineConfig } from "vite";
import path from "node:path";
import electron from "vite-plugin-electron/simple";
import react from "@vitejs/plugin-react";
import { nodePolyfills } from 'vite-plugin-node-polyfills'
// https://vitejs.dev/config/
export default defineConfig({
plugins: [
nodePolyfills(),
react(),
electron({
main: {
@ -33,8 +31,6 @@ export default defineConfig({
resolve: {
alias: {
"@": path.resolve(__dirname, "./src"),
"cornerstone-wado-image-loader":
"cornerstone-wado-image-loader/dist/dynamic-import/cornerstoneWADOImageLoader.min.js",
},
},
});

File diff suppressed because it is too large Load Diff