As browsers gain support for all underlying features of Penumbra, we should modernize and simplify our build output to be usable with PnP, ESM, treeshaking, and reduce the amount of poly/ponyfilling. This would switch us off webpack in favor of esbuild, and build distributions with rollup.
TODO:
Drop webpack and babel
Update demo/example to import under new dist (can also update to type="module" while at it)
A little more thinking on web worker best practice
Reduce poly/ponyfilling and document poly/ponyfill instructions for package consumers (likely a separate PR)
As browsers gain support for all underlying features of Penumbra, we should modernize and simplify our build output to be usable with PnP, ESM, treeshaking, and reduce the amount of poly/ponyfilling. This would switch us off webpack in favor of esbuild, and build distributions with rollup.
TODO:
Related Issues
Public Changelog
[none]
Security Implications
[none]