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


Release history Release notifications

Download files

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

Files for eleran, version 1.0.1
Filename, size File type Python version Upload date Hashes
Filename, size eleran-1.0.1-py3-none-any.whl (5.0 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size eleran-1.0.1.tar.gz (4.2 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page