react-chrome-extension-router
react-chrome-extension-router copied to clipboard
Vite unable to resolve the package - incorrect main/module/exports
Describe the bug Vite is unable to resolve the package.
Steps to reproduce the behaviour:
Install @react-schrome-extension-router and vite
Import it anywhere
Run vite
Sample error:
Failed to resolve entry for package "react-chrome-extension-router". The package may have incorrect main/module/exports specified in its package.json: Failed to resolve entry for package "react-chrome-extension-router". The package may have incorrect main/module/exports specified in its package.json.
Expected behaviour: Vite should serve the site
Additional info: MacOS Monterey Chrome react-chrome-extension-router v1.3.1
Fixed
This has been fixed and published in v1.4.0 https://www.npmjs.com/package/react-chrome-extension-router/v/1.4.0
Thanks for your contribution @umarluqman ! 🙏🏻