Convert swagger-client to ESM #2414
Labels
cat: usability
dependencies
Pull requests that update a dependency file
type: enhancement
version: 3.x
Node.js world has moved to native ESM support some time ago. Wee need to get on this train to be able to used ESM or CommonJS packages. If we maintain status quo, we can only use older CommonJS packages.
Resources:
We already have explicit usage of file extension that was introduced in #2320.
We need to add "type": "module" to the package.json as well.
This change should be fully compatible so we should still be using older package fields like
main
orbrowser
along with newexports
.The text was updated successfully, but these errors were encountered: