Skip to content

fix: run webpack after cljs in electron release flow#12405

Open
waneon wants to merge 1 commit intologseq:masterfrom
waneon:fix/release-electron
Open

fix: run webpack after cljs in electron release flow#12405
waneon wants to merge 1 commit intologseq:masterfrom
waneon:fix/release-electron

Conversation

@waneon
Copy link
Copy Markdown
Contributor

@waneon waneon commented Feb 21, 2026

Problem

After a clean clone of the repository, running yarn release-electron fails because ./target/db-worker.js and ./target/inference-worker.js cannot be found.

The root cause is that webpack is invoked before cljs:release-electron generates the required target/*.js artifacts, while the webpack entry configuration expects those files to already exist.

As a result, the build process fails in a fresh environment.

Steps to Reproduce

  1. Clone the repository
  2. yarn install
  3. yarn release-electron

Changes

This PR modifies the release-electron script to:

  • Execute cljs:release-electron first
  • Run webpack only after the required target/*.js artifacts have been generated

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant