I have created a custom UI component for internal company use and released it on npm. However, after installing the package, I noticed that only the index.js
file is showing up in the node_modules
directory.
I am not utilizing any package builders or ES modules, just plain .js
and .css
files.
The structure of the folder I want to publish as the package includes:
package
- src
- index.js
- index.css
- assets/
- fonts/
- ..various font files
- images/
- icon.svg
- package.json