ESM
Add esm bundle and use conditional exports in package.json.
Switched from browserify to rollup so no longer outputting the legacy bundles only umd and esm.
Add esm bundle and use conditional exports in package.json.
Switched from browserify to rollup so no longer outputting the legacy bundles only umd and esm.