How to fix "[module] is not export by [path]" error during build, when it works on development?
Here is the error I get on
I had the same error in development and fixed it with:
This is the
yarn buildI had the same error in development and fixed it with:
This is the
index.js it cannot import:yarn dev works, but yarn build fails. It's a local yarn workspace package .