autocombo

0.1.4 • Public • Published

Autocombo

autocombo less module from html to css

Install

$ sudo npm install autocombo -g

Usage

you must modify config.json first. It just like this:

{
    "html": "/var/www/html", //html page path
    "less": "/var/www/less/page", // combo less path
    "css": "/var/www/css/page", // parser combo less to css path (if is null the same as combo less path)
    "minify": false // parser combo css minify option
}

In the HTML just like this:

<html>
    <head><head>
    <body>
        <!--[../gloabl, ../mod-test]-->
        <div class="mod-test"></div>
    <body>
<html>

The result of combo less like this:

/**
**html:/var/www/html/test.html
**/
@charset "utf-8";
@import "../global";
@import "../mod-test";

At a glance:

$ autocombo [-w/--watch]

combo once:

$ autocombo

watch file change and combo real time:

$ autocombo -w/--watch

if you need help information:

$ autocombo -h/--help

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.1.4
    2
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.1.4
    2
  • 0.1.3
    1
  • 0.1.2
    1
  • 0.1.1
    0

Package Sidebar

Install

npm i autocombo

Weekly Downloads

3

Version

0.1.4

License

none

Last publish

Collaborators

  • xiaoqiang