postalsys/postal-mime

Missing "exports" main issue

Closed this issue · 0 comments

I have been getting this error left and right:

Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: No "exports" main defined in .../node_modules/postal-mime/package.json

I think by adding default to exports this could be solved:

    "exports": {
+       "default": "./src/postal-mime.js",
        "import": "./src/postal-mime.js",
        "types": "./postal-mime.d.ts"
    },

I just wanted to double check making sure I'm not the only one dealing with this issue