Skip to content

Conversation

rjmunro
Copy link

@rjmunro rjmunro commented Mar 19, 2025

Instead we have to use a Synchronous write method, which is only available if we are running in a web worker.

If we are not running in a worker, put a warning to console, and don’t leave behind an empty file.

rjmunro added 2 commits March 19, 2025 11:07
So we have to use a Synchronous write method, which is only available
if we are running in a web worker. Put a warning to console if we are
not, and don’t leave behind an empty file.
This means you can use a line in package.json like:

    "@diffusionstudio/vits-web": "[email protected]: diffusionstudio/vits-web.git#[SHA]",

to test a specific SHA version in another project before it's released.
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