I've developed a small Ui component for internal use in a company and published it to npm but when I install that package I only get an index.js
file in node_modules
folder.
I'm not using any package builder, es-modules, just a straightforward .js
and .css
The folder i want to publish as the package has the following structure:
package
- src
- index.js
- index.css
- assets/
- fonts/
- ..some fonts
- images/
- icon.svg
- package.json