Thank you - took me a bit to figure out how to implement - so in case someone else can benefit from this:
- add
"exports": {".": "./dist/src/index.js"}
, to your package.json - delete parcel-cache, node_modules, yarn cache clean
- install parcel nightly build - 2.0.0-nightly.1281 (confirm this one is working for me)
-
yarn
to reinstall everything
Working for me. Appreciate the help.