7.0.2 • Published 11 months ago

@motrix/electron-esbuild v7.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
11 months ago

electron-esbuild

license electron-esbuild version

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