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
The general goal of this item is to add full WebPack support to alphaTab with minimum to zero configuration. This includes following aspects
The alphaTab WebWorkers MUST be able to lauch correctly
The alphaTab Audio Worklets MUST be able to launch correctly
The codebase in alphaTab SHOULD not need WebPack specific code but the same code should work for all bundlers.
Circular references between the different chunks SHOULD be avoided.
Examples and Documentation for direct usage in WebPack MUST be available
Examples and Documentation for usage via Angular MUST be available
Examples and Documentation for usage via React MUST be available
Current envisioned design:
File Structure:
AlphaTab.core.mjs - holds the main application code which is shared accross the main browser thread and web workers. It exposes the different initialization codes for UI, webworker and audio worklets.
AlphaTab.mjs - The main browser entry point. It imports AlphaTab.core and initializes it with an implementation for launching webworkers and audio worklets using the other files.
AlphaTab.worker.mjs - The web worker entry point. It imports AlphaTab.core and initializes it with an implementation for launching webworkers and audio worklets throwing an error that no nested workers can be launched. (as we don't need nesting for now).
*AlphaTab.worklet.mjs - The audio worklet entry point. It imports AlphaTab.core and initializes it with an implementation for launching webworkers and audio worklets throwing an error that no nested workers can be launched. (as we don't need nesting for now).
AlphaTab.js - An all-in-one bundled (UMD) version of alphaTab not intended for further bundling.
AlphaTab.webpack.js - A WebPack plugin taking care of the webpack bundler specific bits with alphaTab as WebPack doesn't has built-in support for everything. (e.g. audio worklets which further import items).
The text was updated successfully, but these errors were encountered:
The general goal of this item is to add full WebPack support to alphaTab with minimum to zero configuration. This includes following aspects
Current envisioned design:
AlphaTab.core.mjs
- holds the main application code which is shared accross the main browser thread and web workers. It exposes the different initialization codes for UI, webworker and audio worklets.AlphaTab.mjs
- The main browser entry point. It importsAlphaTab.core
and initializes it with an implementation for launching webworkers and audio worklets using the other files.AlphaTab.worker.mjs
- The web worker entry point. It importsAlphaTab.core
and initializes it with an implementation for launching webworkers and audio worklets throwing an error that no nested workers can be launched. (as we don't need nesting for now).*
AlphaTab.worklet.mjs
- The audio worklet entry point. It importsAlphaTab.core
and initializes it with an implementation for launching webworkers and audio worklets throwing an error that no nested workers can be launched. (as we don't need nesting for now).AlphaTab.js
- An all-in-one bundled (UMD) version of alphaTab not intended for further bundling.AlphaTab.webpack.js
- A WebPack plugin taking care of the webpack bundler specific bits with alphaTab as WebPack doesn't has built-in support for everything. (e.g. audio worklets which further import items).The text was updated successfully, but these errors were encountered: