Releases: Smona/faust-loader
v1.3.0: Adds the option to inline generated code
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.
v1.2.3: More robust script shebangs
The script was failing to run in some environments, notably a pure nix shell. This is the more modern way to resolve bash in shebangs and should be supported on all platforms
fix: Support multiple (possibly offline) audio contexts
Merged PR #8:
- Allows the use of one
.dsp
file in multiple audio contexts. - Adds a test case for
OfflineAudioContext
support. - Excludes unnecessary files from the npm package.
Fix Readme Syntax Highlighting
v1.2.1 Merge pull request #6 from Smona/fix-readme-highlighting
v1.2.0
v1.1.0
Faust Loader v1
This marks the point when the loader is working, and requirements have been nailed down! You should be able to use this now without too many surprises. The API is expected to be stable for a while as I start working with this loader in my projects, but there's still a lot of room for improvements going forward.
Bundle faust2wasm
Many installations of the faust compiler won't include the faust2wasm command needed to generate output files. But this bundled version will hopefully work with them.