ericclemmons / click-to-component

Option+Click React components in your browser to instantly open the source in VS Code
MIT License
1.82k stars 65 forks source link

Add package.json#exports #15

Closed ericclemmons closed 2 years ago

ericclemmons commented 2 years ago
❯ pnpm dev

> next-app@ dev /private/tmp/next-app
> next dev

ready - started server on 0.0.0.0:3000, url: http://localhost:3000
wait  - compiling...
event - compiled client and server successfully in 976 ms (148 modules)
wait  - compiling / (client and server)...
wait  - compiling...
event - compiled client and server successfully in 395 ms (166 modules)
(node:14038) [DEP0151] DeprecationWarning: No "main" or "exports" field defined in the package.json for /private/tmp/next-app/node_modules/click-to-react-component/ resolving the main entry point "index.js", imported from /private/tmp/next-app/.next/server/pages/_app.js.
Default "index" lookups for the main are deprecated for ES modules.
(Use `node --trace-deprecation ...` to show where the warning was created)
changeset-bot[bot] commented 2 years ago

⚠️ No Changeset found

Latest commit: 650ffea889a79a8c4cf651494fcfb3f576618adc

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR