molszanski / iti

~1kB Dependency Injection Library for Typescript and React with a unique support of async flow
https://itijs.org
MIT License
129 stars 6 forks source link

CommonJS / ESM interop is not great #38

Open molszanski opened 1 year ago

molszanski commented 1 year ago

I need to update the package to support both ESM and commonjs better. Work in progress

jacoobes commented 1 year ago

Hey! ill do some work on this. I think i know a few solutions. let me cook 👨‍🍳

jacoobes commented 1 year ago

I would never wish upon my worst enemy to learn how to interoperate cjs, esm, on all platforms

jacoobes commented 1 year ago

I have some progress and it's pretty minimal changes, but I'll see if it works