DEV Community

Discussion on: Package.json File explained!!!

Collapse
duhdugg profile image
Doug Elkin

The "homepage" property is used for a completely different purpose for projects using react-scripts. This is a bit frustrating, in my opinion.

Also, if your package is distributing both commonjs and ES modules, the "main" property should be the path to the commonjs module, and the "module" property should be the path to the ES module.

Collapse
naveenchandar profile image
Naveenchandar Author

Agreed 👍.