Closed vitaly-t closed 6 months ago
https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c
In summary, consider using const {default: Audic} = await import('audic');
Thank you! Unfortunately, adding "type": "module"
creates so many problems with other packages...
How one is supposed to configure the project to make this work?
I keep hitting this error:
My
tsconfig.json
file:I do not use
"type": "module"
in package, as it would break many other packages.