Hey folks, I have a project I just migrated to ESM and the the statsig client is giving me some trouble.
I put together a small sample project to demonstrate the issue I'm having: https://github.com/ethos-seth/statsig-esm-demo
It shows import two approaches:
- Default imports
- Named imports
Each fails in their own way.
I suspect it might have something to do with:
module.exports = { default: Statsig as Statsig, ...Statsig };
Hey folks, I have a project I just migrated to ESM and the the statsig client is giving me some trouble.
I put together a small sample project to demonstrate the issue I'm having: https://github.com/ethos-seth/statsig-esm-demo
It shows import two approaches:
Each fails in their own way.
I suspect it might have something to do with: