Rather than emitting separate files for each WASM module and AudioProcessor, you can now enable inline mode to embed the content of those files into the JavaScript bundle as base64 data URLs. This means using faust-loader
no longer requires a web server in your project to work, and now supports single-file builds. Code splitting is still supported with inline mode via dynamic imports.
The default behavior remains unchanged. To enable inline mode, add inline: true
to your loader options for faust-loader
. Inline mode will likely become the default in a future major version.