smart-static-minify

2019-08-15 admin

smart-static-minify是什么

什么是smart-static-minify,Minifier support for smart-static.

smart-static-minify使用教程帮助文档

donot-transform-stylus

Build Status

Stylus compiler for donot.

Usage

Using the Stylus donot transform plug-in is pretty easy.

var http = require('http'),
    donot = require('donot'),
    StylusTransform = require('donot-transform-stylus');

var server = http.createServer(donot(__dirname + '/public', {
    transforms: [ new StylusTransform() ]
}));

server.listen(8000);

Now .styl files in the /public folder will automatically be compiled, rendered and served as .css files.

License

MIT

本站文章除注明转载外,均为本站原创或编译。欢迎任何形式的转载,但请务必注明出处。

转载请注明:文章转载自 JavaScript中文网 [https://www.javascriptcn.com]

本文地址:https://www.javascriptcn.com/read-72533.html

文章标题:smart-static-minify

回到顶部