0.1.5 • Published 9 years ago

vegetto v0.1.5

Weekly downloads
69
License
MIT
Repository
github
Last release
9 years ago

Description

Vegetto is a module for allowing divided nodejs development, so that this module groups and files minify.

npm install vegetto

Minify and merge files: .js, .json, .css and .html

Usage

config.json

{
    "files": {
        "./folder/file.min.js": [
            "./folder/dev/file1.js",
            "./folder/dev/file2.js"
        ]
    },
    "options": {}
}
vegetto config.json

Vegetto heard and modified files will be saved in time so minify file.min.js

Refresh

Adding "refresh" the object attribute options can create a list of files you hear the change of the final file, so that when this is changed it will be stored in those files.

{
    "files": {
        "./folder/file.min.js": [
            "./folder/dev/file1.js",
            "./folder/dev/file2.js"
        ]
    },
    "options": {
        "refresh": {
            "./folder/file.min.js": [
                "./olderFolder/file.js"
            ]
        }
    }
}

Minify project

Parse the script tags, link and style, read the files and then compressed to minify, so that the project remains minified html.

{
    "project": {
        "./dist": "./dev/app.html"
    }
}
0.1.5

9 years ago

0.1.4

9 years ago

0.1.3

9 years ago

0.1.2

9 years ago

0.1.1

9 years ago

0.1.0

9 years ago

0.0.9

9 years ago

0.0.8

9 years ago

0.0.7

9 years ago

0.0.6

9 years ago

0.0.5

9 years ago

0.0.4

9 years ago

0.0.3

9 years ago

0.0.2

9 years ago

0.0.1

9 years ago