Closed infojunkie closed 1 year ago
Take a look at other examples of including it, e.g. https://github.com/Financial-Times/g-components/blob/main/src/data-sonification/webaudiofont.js
Alternatively, move to ES6 modules and avoid bundling altogether. This will be a perfect opportunity to remove rollup
that's been a real pita.
Superseded by #17
Right now, Rollup is not able to include module
webaudiofont
in the bundle. To include it, it is necessary to a) explicitly include it as a<script>
include, and b) declare it in the RollupexternalGlobals
settings. This needs to be fixed.