Simple monitor for displaying MIDI status for digital pianos.
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

electron.vite.config.ts 420 B

1234567891011121314151617181920
  1. import { resolve } from 'path'
  2. import { defineConfig, externalizeDepsPlugin } from 'electron-vite'
  3. import react from '@vitejs/plugin-react'
  4. export default defineConfig({
  5. main: {
  6. plugins: [externalizeDepsPlugin()]
  7. },
  8. preload: {
  9. plugins: [externalizeDepsPlugin()]
  10. },
  11. renderer: {
  12. resolve: {
  13. alias: {
  14. '@renderer': resolve('src/renderer/src')
  15. }
  16. },
  17. plugins: [react()]
  18. }
  19. })