@coderline/alphatab-vite
Version:
A plugin for Vite to bundle alphaTab into your webapps.
10 lines (6 loc) • 750 B
Markdown
This is the plugin for bundling [alphaTab](https://alphatab.net/) correctly in your Vite powered projects.
alphaTab internally off-loads some work to background workers to not block the browser while rendering or generating audio. These background workers are realized through Web Workers and Audio Worklets. This plugin ensures Vite correctly bundles alphaTab by:
* Ensures the Web Font (Bravura) and the SoundFont (SONiVOX) shipped with alphaTab are copied to the build output and made available through <root>/font/ and <root>/soundfont/ of your application.
* Ensures Web Workers and Audio Worklets are correctly configured and working.
See https://alphatab.net/docs/getting-started/installation-vite for more details.