just-boris / less-plugin-glob

Globbing support for LESS
MIT License
70 stars 12 forks source link

Here is non-less file issue #12

Closed romanran closed 7 years ago

romanran commented 7 years ago

Hi, when I do @import (less) to treat css files as less, the plugin halts whole build I've found this function: function isLess(file) { return path.extname(file) === '.less'; } can you detect the (less) flag and add .css to extension the check please?

Edit: I've made the change(minus the (less) detection flag) you can check it out here

just-boris commented 7 years ago

Released as v2.0.0, because new behavior is definitely breaking change