8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 823d69f commit 06bf75cCopy full SHA for 06bf75c
lib/less/parser.js
@@ -155,14 +155,14 @@ less.Parser = function Parser(env) {
155
}
156
157
158
+ this.env = env || {};
159
160
// The optimization level dictates the thoroughness of the parser,
161
// the lower the number, the less nodes it will create in the tree.
162
// This could matter for debugging, or if you want to access
163
// the individual nodes in the tree.
- this.optimization = 2;
164
+ this.optimization = this.env.optimization || 2;
165
- this.env = env || {};
166
167
//
168
// The Parser
0 commit comments