In my JS I import like this which works: import {swiffyslider} from 'swiffy-slider';
In my scss this doesn't work: @import "~swiffy-slider/dist/css/swiffy-slider.min.css";
Am I doing something wrong? Or does your package need to additionally export the css for NPM, Laravel Mix 6, ES6? Currently you have "exports": "./src/swiffy-slider.esm.js", which works for the js only for me.
In my JS I import like this which works:
import {swiffyslider} from 'swiffy-slider';
In my scss this doesn't work:@import "~swiffy-slider/dist/css/swiffy-slider.min.css";
Am I doing something wrong? Or does your package need to additionally export the css for NPM, Laravel Mix 6, ES6? Currently you have
"exports": "./src/swiffy-slider.esm.js",
which works for the js only for me.