UNPKG

deployment-tools

Version:

A Node.js scripts that helps you to compile and deploy the static assets (CSS/JavaScript/images) of your website without gulp and grunt using Node.js and npm scripts

26 lines (22 loc) 719 B
// HACK: at the moment less-parser don't support @import (inline) see issue https://github.com/Crunch/postcss-less/issues/2 @import (less) "vanilla.css"; @import "./component/typo.less"; @import "./component/icon.less"; @import "bootstrap-frontend.less"; // test computation via postcss-calc body{ width: calc(100% / 3); height: calc(15px + 2px); } .panel-one{ // to test url substitution background: red url("/images/controls.png") no-repeat center; } .panel-two{ // to test url substitution background: red url("images/controls.png") no-repeat center; } .panel-three{ // to test url substitution background: red url("http://www.static.com/images/controls.png") no-repeat center; }