Skip to main content

Simple & fast sass compiler and javascript minifier with hot reloading

Project description

Simple & fast sass compiler and javascript minifier with hot reloading

Install

Install using pip:

pip install eleran

Usage

Command:

eleran <command> <path> --mode=<mode>

commad:

  • watch

  • validate

  • generate

–mode:

  • debug

Example, generate eleran.json to example directory:

eleran generate example

Watch:

eleran watch example

Configuration File

eleran.json:

[
    {
        "sass": {
            "source": "sass/style.scss",
            "output": "style.min.css",
            "output_style": "compressed",
            "source_comments": false
        }
    },
    {
        "js": {
            "include": [
                "js/foo.js",
                "js/bar.js"
            ],
        "output": "script.min.js"
        }
    }
]

Sass - output_style:

  • compact

  • compressed

  • expanded

  • nested

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

eleran-1.0.1.tar.gz (4.2 kB view hashes)

Uploaded Source

Built Distribution

eleran-1.0.1-py3-none-any.whl (5.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page