Change the file name of "./src/useResizeObserver" to "./src/index.js"
Closed this issue · 0 comments
Gautam-Arora24 commented
The source property in the package.json points to src/index.js
which is missing in the actual src directory. Due to this, the code is not being compiled to dist directory and thus leading to errors.
Changes Proposed
The useResizeObserver.js
should be renamed to index.js