Vite plugin integrating @doubleshot/builder for building Node.js backend or Electron main process code with Vite. Version 0.0.22, early-stage (not production-ready). It leverages esbuild for fast bundling and supports TypeScript out of the box. Differentiators: unified configuration for Electron and NestJS projects, seamless Vite integration, and automatic external handling.
npm install vite-plugin-doubleshotVerified import paths — ran on the pinned version, not inferred.
Adds the Doubleshot plugin to Vite config for building Electron main process.
Use other stable tools like electron-builder or electron-forge for production.
Pin a specific version and test upgrades carefully.
Watch the CHANGELOG for changes to configuration schema.
Install @doubleshot/builder explicitly: npm install @doubleshot/builder -D
Ensure you are using the named export: import { VitePluginDoubleshot } from 'vite-plugin-doubleshot'