Simple monitor for displaying MIDI status for digital pianos.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

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. })