alex8088 / quick-start

An easy way to start a front-end project.
MIT License
248 stars 34 forks source link

/build directory conflict with node-gyp #18

Closed peter-pakanun closed 1 year ago

peter-pakanun commented 1 year ago

Describe the bug

While developing native addon that is also a part of the electron application, node-gyp rebuild will remove all build resources inside /build directory, which is causing build process to fail because build\notarize.js module was missing.

Most of the time, /build directory is a directory associated with build-time temporary files, it is better to choose another name for the buildResources directory.

Used Scaffolding

create-electron

Used Package Manager

pnpm

Validations

alex8088 commented 1 year ago

you can configure it in electron-builder.yml:

directories:
  buildResources: build