only import G6 types
This commit is contained in:
1 parent
5051e2aefb
commit
b04b8de22b
6 files changed
+84
-53
No files matched your search
+2
-8
@@ -1,7 +1,6 @@
|
||||
import { rmSync } from "node:fs";
|
||||
import path from "node:path";
|
||||
import { defineConfig } from "vite";
|
||||
import react from "@vitejs/plugin-react";
|
||||
import { rmSync } from "node:fs";
|
||||
import { defineConfig } from "vite";
|
||||
import electron from "vite-electron-plugin";
|
||||
import { customStart, loadViteEnv } from "vite-electron-plugin/plugin";
|
||||
import renderer from "vite-plugin-electron-renderer";
|
||||
@@ -17,11 +16,6 @@ export default defineConfig(({ command }) => {
|
||||
build: {
|
||||
sourcemap: true,
|
||||
},
|
||||
resolve: {
|
||||
alias: {
|
||||
"@": path.join(__dirname, "src"),
|
||||
},
|
||||
},
|
||||
plugins: [
|
||||
react(),
|
||||
electron({
|
||||
|
||||
Reference in new issue
Block a user