@motrix/electron-esbuild

7.0.2 • Public • Published

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

/@motrix/electron-esbuild/

    Package Sidebar

    Install

    npm i @motrix/electron-esbuild

    Weekly Downloads

    0

    Version

    7.0.2

    License

    MIT

    Unpacked Size

    105 kB

    Total Files

    78

    Last publish

    Collaborators

    • agalwood