pack: add jsx support and remove babel modules

This commit is contained in:
leejooy96 committed 2022-10-17 17:41:24 +09:00
1 parent c19619d60d
commit b77a98d8bd
7 files changed
+66 -2458

No files matched your search

+2
View File
@@ -1,5 +1,6 @@
import { defineConfig } from 'vite'
import electron from 'vite-plugin-electron'
import vueJsx from '@vitejs/plugin-vue-jsx'
import vue from '@vitejs/plugin-vue'
import { resolve, join } from 'path'
import { builtinModules } from 'module'
@@ -31,6 +32,7 @@ export default defineConfig({
},
plugins: [
vue(),
vueJsx(),
electron({
main: {
entry: 'src/main/index.js',