Closed NickClark closed 2 years ago
Describe the bug Vite (and probably others) complain when the entry points in a package are incorrect. Currently, main and types point to the lib directory instead of the top level.
main
types
package.json should be:
package.json
"main": "index.js", "types": "index.d.ts"
instead of
"main": "lib/index.js", "types": "lib/index.d.ts"
Describe the bug Vite (and probably others) complain when the entry points in a package are incorrect. Currently,
main
andtypes
point to the lib directory instead of the top level.package.json
should be:instead of