Skip to content

Electron plugin for Vite #24

@egoist

Description

@egoist

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    open-source-libraryFeel free to work on it unless someone else has claimed it

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions