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
I upgraded to dotless version 1.4.0 and got the following issue:
My file structure looks like this:
\styles\variables.less (130 lines of code, only variable declerations)
\styles\grid.less (30 lines of code, a simple grid made with mixins)
\styles\modules\module.less (ordinary less style file)
Module.less imports first the grid.less and second the variables.less. When I try to TransformToCss it gives me an empty string and a debug-text saying:
variable @bg-color is undefined on line 19 in file '~/styles/modules/module.less':
[18]: padding: 20px;
[19]: background: @bg-color;
-------------^
variable @bg-color is undefined on line 19 in file '~/styles/modules/module.less':
[18]: padding: 20px;
[19]: background: @bg-color;
-------------^
variable @bg-color is undefined on line 19 in file '~/styles/modules/module.less':
[18]: padding: 20px;
[19]: background: @bg-color;
-------------^
I have a asp.net application and using the built-in bundling with the following adapter:
I upgraded to dotless version 1.4.0 and got the following issue:
My file structure looks like this:
\styles\variables.less (130 lines of code, only variable declerations)
\styles\grid.less (30 lines of code, a simple grid made with mixins)
\styles\modules\module.less (ordinary less style file)
Module.less imports first the grid.less and second the variables.less. When I try to TransformToCss it gives me an empty string and a debug-text saying:
variable @bg-color is undefined on line 19 in file '~/styles/modules/module.less':
[18]: padding: 20px;
[19]: background: @bg-color;
-------------^
variable @bg-color is undefined on line 19 in file '~/styles/modules/module.less':
[18]: padding: 20px;
[19]: background: @bg-color;
-------------^
variable @bg-color is undefined on line 19 in file '~/styles/modules/module.less':
[18]: padding: 20px;
[19]: background: @bg-color;
-------------^
I have a asp.net application and using the built-in bundling with the following adapter:
https://github.com/scott-xu/System.Web.Optimization.Less
If I downgrade to dotless 1.3.1 everything works just fine..so it seems to be a problem with the dotless parser.
Hope you can help me with this issue, Thanks!
The text was updated successfully, but these errors were encountered: