Sublime / LESS-Build error when compile bootstrap -
i have problems compile less on sublime text 2 less-build plugin, less normaly works when want build bootstrap less sources sublime response me error:
[compile] c:\test\assets\css\main.less -> c:\test\assets\css\main.css expected ')' found ' ' on line 20 in file 'less/mixins/image.less': [19]: // spelling of `min--moz-device-pixel-ratio` intentional. [20]: .img-retina(@file-1x; @file-2x; @width-1x; @height-1x) { --------------------^ [21]: background-image: url("@{file-1x}"); [done - failed] [finished in 0.3s]
how repair this?
the less-build-sublime plugin seems use dotless less compiler. .net less compiler supports language features version 1.3.0.
the source code of bootstrap uses less compiler @ version 2.1.0. bootstrap depends on 1 of language features doesn't exist in version 1.3.0.
Comments
Post a Comment