slim-select
slim-select copied to clipboard
Add exports "style" in package.json for using [@import "slim-select"] in sass.
Improvement suggestion:
@import "slim-select" for sass/scss
// package.json
...
"exports": {
"require": "./dist/slimselect.min.js",
"import": "./dist/slimselect.min.mjs",
// ⬇ This line ⬇
"style": "./dist/slimselect.min.css"
},
...
+1
+1
New version released today! Check it out and let me know your thoughts. I have a sass field in the package json. Hopefully that fixes this for you. If not let me know and Ill try to get a fix in.