stipsan / bulma-loader

A Webpack loader for Bulma, a modern CSS framework based on Flexbox
35 stars 3 forks source link

Path pattern failed in matching on Windows #17

Closed noru closed 6 years ago

noru commented 7 years ago

Hi Stian,

This pattern is not working on Windows since it has C:\\...\\node_modules\\bulma\\bulma.sass kinda path:

var bulmaPattern = /node_modules\/bulma\/.+sass$/;

This one works fine although I'm not sure if it is the best:

var bulmaPattern = /node_modules(\/|\\)bulma(\/|\\).+sass$/;

I can send a PR if it is ok.

Regards and Thanks! Drew

stipsan commented 6 years ago

https://github.com/stipsan/bulma-loader#this-project-is-no-longer-maintained