You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 29, 2023. It is now read-only.
Hi there,
Thanks for this plugin, really handy ! I use it to have the same breakpoint values between my CSS and JS.
Anyway, i encountered an issue with mixins. I think this is maybe due to a Less lib update.
When I have a mixin :
grunt is telling me this :
Warning: Cannot read property 'substr' of undefined Use --force to continue.So I checked the source code and the only
substris here :https://github.com/ixrock/grunt-less2js/blob/master/tasks/less2js.js#L58
When checking
rule.variableon mixins this is true becauserule.variableis a function. But when callingrule.name.substr(1)this is crashing.Maybe adding :
rule.variable == truecan solve the issue ?What do you think ?
Thanks :)