-
-
Notifications
You must be signed in to change notification settings - Fork 538
Closed
Labels
Description
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
Desktop (please complete the following information if possible or delete this section):
- OS: MacOS 13.0.1