Provide bundled/minified file for CDN support
vincerubinetti opened this issue · comments
Would be nice to be able to use this library from a script tag, from an npm cdn, e.g. https://unpkg.com/canvas-record@latest
unpkg has not been the best for ESM packages to be honest. I'd recommend https://esm.sh/ and its different options (?bundle-deps, ?no-bundle...):
<script type="module">
import {
Recorder,
RecorderStatus,
Encoders,
} from "https://esm.sh/canvas-record@5.0.0";
</script>