visual studio 2012 - Web Essentials v2.8 LESS import error -


for better organization, have main .less file imports other .less files using @import syntax. in order web essentials preview window work have @import-once @ top of each .less file imports variables.less file.

this solution worked wonderfully until upgraded web essentials 2.8. i'm unable import .less file has @import or @import-once declared in it. main .less file no longer compiles.

if remove @import-once statements, preview window useless since can't see compiled css without importing variables file.

i had case imported .less file ruleset, defined lesscss.org in importing ruleset section. no longer works since upgrade v2.8.

has else experienced these issues or have resolution?

thanks

this seems bug -> feature in latest version of webessentials because of new feature in less 1.4.0. anwar describes. see the changelog of less:

1.4.0 beta 1 & 2 (2013-03-07)

  • default behaviour of import import each file once. @import-once has been removed.

either

update files use new syntax (remove -once imports)

or

to use older version of engine, download previous (2.7) version , don't update until know has been fixed.

or

or can configure visual studio @ nightly build feed web essentials download latest version (caution, nightly builds may contain other bugs or stop working time time). go tools -> options -> extensions & updates , add feed: http://vswebessentials.com/nightly/feed.ashx

which seems add workaround makes work old syntax well. add webessentials nightly feed


Comments

Popular posts from this blog

How to mention the localhost in android -

php - Calling a template part from a post -

c# - String.format() DateTime With Arabic culture -