corki-compiler
v0.2.2
Published
A front-end resource compiler and adapter
Downloads
3
Readme
corki-compiler
A front-end resource compiler and adapter.
Usage
Command
# styles
corkic -c -s -o output.css input.sass
# scripts
corkic -c -s -o output.min.js output.js
You can get more infomation by corkic --help
Program
var compile = require('corki-compiler')
compile('path/to/yourfile', { compress: true }, function (result) {
// result as a output string
// ...
})
Support types
html
- jade
css
- less
- sass
- stylus
- autoprefixer
js
- common.js module
- babel
- coffee
Todos
- more test cases
- more resource types support
- better customization