For use with modern bundling tools like Vite and Snowpack. At the moment, Vite tries to optimize the library as a CommonJS module with a single default export, then errors with this at runtime:
Uncaught SyntaxError: The requested module '/@modules/micro-observables.js' does not provide an export named 'observable'
Adding an ES module distribution would fix this. I'm also open to adding this myself
For use with modern bundling tools like Vite and Snowpack. At the moment, Vite tries to optimize the library as a CommonJS module with a single default export, then errors with this at runtime:
Uncaught SyntaxError: The requested module '/@modules/micro-observables.js' does not provide an export named 'observable'
Adding an ES module distribution would fix this. I'm also open to adding this myself