postmask-less
v1.0.10
Published
Less optimizer for postmask
Downloads
2
Readme
PostMask Less Compiler
Compiles functions in mask
templates to es5
Configurate
mask.cfg('postmask-less', LessOptions);
Default:
{}
Runtime (inprocess)
Transform styles at runtime. Use this only in some demos and in dev, not for production.
Usage
npm i postmask-less --save-dev
style {
@color: red;
h4 {
background: @color;
}
}
h4 > 'Foo'
Optimizer
Defines optimizers to compile style less content to css. Can be used as standalone module, but also as a plugin for postmask
.
(c) MIT License - Atma.js Project