RexSystem1 voteeditedoriginally by @sucrettae on GitHubCollapsed as outdated by Rex: Build steps for an old branch.
> > @Estyms how did you compile refactor? electron:compile was removed from fluxer_app/package.json so i have no idea how =.=
>
>
> npx electron-builder --config electron-builder.config.cjs -l in fluxer_desktop
> HOWEVER, you need to remove :
> banner: {
> js: import { createRequire } from 'module'; const require = createRequire(import.meta.url);,
> },
> from scripts/build.mjs at line 85
> as well as the entire desktop property in electron-builder.config.cjs at line 148
I had to run a few more commands before being able to build:
Thread
Off-topic comment by @sucrettae