Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Electron plugin for Vite #24

Open
egoist opened this issue May 6, 2021 · 1 comment
Open

Electron plugin for Vite #24

egoist opened this issue May 6, 2021 · 1 comment
Labels
open-source-library Feel free to work on it unless someone else has claimed it

Comments

@egoist
Copy link
Owner

egoist commented May 6, 2021

Making it easier to build Electron apps with Vite:

  • a single config file vite.config.ts for both main and renderer process:
    export default {
        // ..config for building the renderer code
        plugins: [
          // automatically starts the main process
          // after the vite server is started
          electron({
             main: './main/index.ts',
             preload: './preload/index.ts'
          })
        ]
    }
  • more features baked in?
@egoist egoist added the open-source-library Feel free to work on it unless someone else has claimed it label May 6, 2021
@JonasKruckenberg
Copy link

A horrible undertaking. Trust me 🤣

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
open-source-library Feel free to work on it unless someone else has claimed it
Projects
None yet
Development

No branches or pull requests

2 participants