AlexTorresDev / custom-electron-titlebar

Custom electon title bar inpire on VS Code title bar
MIT License
866 stars 148 forks source link

Incorrect `main` and `types` in release package #157

Closed NickClark closed 2 years ago

NickClark commented 3 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.

package.json should be:

"main": "index.js",
"types": "index.d.ts"

instead of

"main": "lib/index.js",
"types": "lib/index.d.ts"