electron-esbuild
v9.0.0
Published
Use esbuild with Electron for blazing fast compilation
Downloads
278
Maintainers
Readme
electron-esbuild
Getting Started
With pnpm:
pnpm create @electron-esbuild/app
With npm:
npm init @electron-esbuild/app
With yarn:
yarn create @electron-esbuild/app
All configurations are already setup for you.
Start a development build
npm run dev
All arguments after --
will be pass through the electron process.
electron-esbuild dev -- --remote-debugging-port
--remote-debugging-port=9229
will start the devtools to the port 9229--remote-debugging-port
will start the devtools to a free port--inspect=9230
will start the inspector to the port 9230--inspect
will start the inspector to a free port
Create a build
npm run build
npm run build -- --no-clean # do not clean output before build
Package the app
npm run package
Development
Refer to README