Skip to content

Add main and exports entries to package.json#791

Open
messaooudi wants to merge 1 commit intovercel:mainfrom
messaooudi:OME/add_main_exports_to_package_json
Open

Add main and exports entries to package.json#791
messaooudi wants to merge 1 commit intovercel:mainfrom
messaooudi:OME/add_main_exports_to_package_json

Conversation

@messaooudi
Copy link

require.resolve("serve") throws Cannot find module 'serve'.

Fix

Add both main and exports entries to package.json to make this package discoverable by node module resolution algorithm.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant