We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I have a less file that has a variable defined as:
@img_path: '/wp-content/themes/dragons/images/';
And a reference to that as:
background: #f06029 url("@{img_path}orange-atom-bg.jpg") no-repeat 50% 50%;
In the CSS output, I get
background:#f06029 url(@{img_path}cream_pixels.png) 50% 50%
What I'd expect is:
background:#f06029 url("/wp-content/themes/dragons/images/'cream_pixels.png") 50% 50%
I saw another thread about changing the variable to include the double quotes inside the single quotes, but that obviously wouldn't work in this case.
Am I missing a parameter for less?
less: { style: { options: { cleancss: true, report: "min" }, expand: true, files: [ { "style.min.css": "style.less" }, { "bootstrap.min.css": [ "node_modules/bootstrap/less/bootstrap.less", "node_modules/bootstrap-toggle/css/bootstrap-toggle.min.css" ] }, { "parallax.min.css": "parallax.less" }, { "blog.min.css": "blog.less" }, { "leap.min.css": "leap.less" }, { "livechatinc.min.css": "less/livechatinc.less" }, { "style-careers.min.css": "style-careers.css" } ] } },
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I have a less file that has a variable defined as:
And a reference to that as:
In the CSS output, I get
What I'd expect is:
I saw another thread about changing the variable to include the double quotes inside the single quotes, but that obviously wouldn't work in this case.
Am I missing a parameter for less?
The text was updated successfully, but these errors were encountered: