Skip to content

build: refresh runtime assets before builds - #84

Open
jiezhengj wants to merge 1 commit into
wassgha:mainfrom
jiezhengj:build/refresh-runtime-assets
Open

build: refresh runtime assets before builds#84
jiezhengj wants to merge 1 commit into
wassgha:mainfrom
jiezhengj:build/refresh-runtime-assets

Conversation

@jiezhengj

Copy link
Copy Markdown

Splits the runtime-asset build change out of #80 for focused review (4/4).

Summary

  • run the existing copy-assets script before a standard production build
  • run the same step before both Web and Electron static exports
  • prevent packaged FFmpeg core and ONNX Runtime WASM files from being missing or stale when postinstall was skipped or an existing checkout is reused

Scope

This changes only three package scripts. Generated assets, speech models, dist output, and installers are not committed.

Validation

  • npm run build
  • confirmed copy-assets refreshed FFmpeg core and ONNX Runtime WASM before the successful production build

Run the existing asset-copy step before standard builds and both static export targets so packaged FFmpeg and ONNX Runtime files cannot be missing or stale.
@vercel

vercel Bot commented Aug 10, 2026

Copy link
Copy Markdown

@jiezhengj is attempting to deploy a commit to the wassgha's projects Team on Vercel.

A member of the Team first needs to authorize it.

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