You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There seems to have been an issue natively inlining audio worklets and questions over the years about it. I had to build one taking ideas from both rollup and another plugin. To create one myself. It migrates from rollup apart from the import change.
The internal worker plugin was too hard to figure out how to make a PR. It might be an idea to integrate something like this.
It returns a helper method to register the worker like rollup. There is a type hint for the worklet import.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
There seems to have been an issue natively inlining audio worklets and questions over the years about it. I had to build one taking ideas from both rollup and another plugin. To create one myself. It migrates from rollup apart from the import change.
The internal worker plugin was too hard to figure out how to make a PR. It might be an idea to integrate something like this.
It returns a helper method to register the worker like rollup. There is a type hint for the worklet import.
https://github.com/danrossi/vite-plugin-audio-worklet
Beta Was this translation helpful? Give feedback.
All reactions