jspm / project

Roadmap and management repo for the jspm project
161 stars 8 forks source link

react-hot-toast goober default export #96

Closed joelmoss closed 2 years ago

joelmoss commented 3 years ago

react-hot-toast has a dependency on goober, and when importing react-hot-toast:

import toast from 'react-hot-toast'

I get an error: Uncaught SyntaxError: The requested module '/npm:goober@2!cjs' does not provide an export named 'default'

Goober has no default export, and from what I can see, react-hot-toast does not try to import a default export from goober.

Any ideas? thx.

guybedford commented 3 years ago

Thanks for posting, I've posted a PR to the original repo at https://github.com/cristianbote/goober/pull/262.

guybedford commented 2 years ago

The original package issue was since merged and the package is working now.