less-plugin-glob icon indicating copy to clipboard operation
less-plugin-glob copied to clipboard

Upgrading from 1.0.0 to 1.0.1 caused an issue

Open mikebaldry opened this issue 8 years ago • 1 comments

caused less to import weird things and resulted in this:

>> SyntaxError: Invalid HEX color code in node_modules/grunt-contrib-less/node_modules/less/test/less/errors/color-invalid-hex-code2.less on line 2, column 29:
>> 1 .a {
>> 2     @wrongHEXColorCode: #fffblack;
>> 3 }
Warning: Error compiling src/less/frontend.less 

used as follows:

    less:
      src:
        options:
          paths: [
            "src/less",
            "node_modules/bootstrap/less",
            "node_modules/slick-carousel/slick",
            "node_modules/animate.css"
          ]
          plugins: [require("less-plugin-glob")]

mikebaldry avatar Jan 27 '16 12:01 mikebaldry

It looks like glob expression went to node_modules folder and found some broken file in a module sources.

Could you please provide the @import expression with glob, that you have in src/less/frontend.less?

just-boris avatar Jan 27 '16 13:01 just-boris