You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Next 13 tries to import the package as an ES Module as defined by the type: module field in package.json but fails, with an error as the main file is .cjs.
Version of Package
v5.3.3
To Reproduce
Create a new NextJS app with create-next-app
Install react-tooltip
Setup the package and add a tooltip to the pages/index.ts file.
Expected behavior
The package's type and main should match their type
Screenshots
Desktop (please complete the following information if possible or delete this section):
OS: MacOS 13.0.1
The text was updated successfully, but these errors were encountered:
Uh oh!
There was an error while loading. Please reload this page.
Describe the bug
Next 13 tries to import the package as an ES Module as defined by the
type: module
field in package.json but fails, with an error as themain
file is.cjs
.Version of Package
v5.3.3
To Reproduce
create-next-app
react-tooltip
pages/index.ts
file.Expected behavior
The package's
type
andmain
should match their typeScreenshots

Desktop (please complete the following information if possible or delete this section):
The text was updated successfully, but these errors were encountered: