Equal-UI / Equal

Equal UI is a Vue 3 UI library empowered by Tailwindcss
https://equal-ui.github.io/Equal/
MIT License
1.21k stars 67 forks source link

Fixing issue #230 #232

Closed ntoporcov closed 3 years ago

ntoporcov commented 3 years ago

Related to #230

Added a couple lines to your package.json

"types": "src/types/index.d.ts", will point to a new file with a module declaration. Webstorm is looking for that line.

"files": [ "src", "dist" ],

This will make it so that when you run npm publish it will only gzip these two directories instead of the whole thing. I believe you could even send dist alone but providing the src directory helps when people want to read the component's code.