cmalven / vite-plugin-sass-glob-import

Use glob syntax for imports in your main Sass or SCSS file.
MIT License
18 stars 7 forks source link

@import not working since vite 5.0.2 & vite-plugin-sass-glob-import 3.0.0 #12

Closed LaTableRouge closed 1 year ago

LaTableRouge commented 1 year ago

Hello,

I've updated my devdependencies today and noticed that a major version of vite is out. A few things needed to be fixed.

I saw your update for the @import statement inside the vite.config.mjs. And since this update the glob import don't work anymore. exemple : @import '../../blocks/**/scss/_block.scss';

cmalven commented 1 year ago

@MLNOP I just released 3.0.1 which will hopefully fix this issue. Would you mind trying it out and letting me know if it works for you?

LaTableRouge commented 1 year ago

@cmalven Thanks for the quick reply. It works 🥳 but I had to force the install. I got this error : image

cmalven commented 1 year ago

@MLNOP Thank you. 3.0.2 should resolve this, just released.

LaTableRouge commented 1 year ago

@cmalven its working like a charm. Thanks a lot ;)

cmalven commented 1 year ago

@MLNOP You're welcome and thank you for your patience!