Skip to main content

JS minifier for Lektor. Based on rjsmin.

Project description

JSminify

PyPI version

JS minifier for Lektor that automatically minifies javascript files

Uses rjsmin and looks for .js files, minifying them as part of the build process.

Installing

You can install the plugin with Lektor's installer::

lektor plugins add lektor-jsminify

Or by hand, adding the plugin to the packages section in your lektorproject file::

[packages]
lektor-jsminify = 1.0

Usage

To enable jsminify, pass the jsminify flag when starting the development server or when running a build::

lektor build -f jsminify

When the flag is present, jsminify will take all .js files from asset_sources/js, minifies them and places them in assets/js.

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

lektor-jsminify-1.0.tar.gz (2.7 kB view details)

Uploaded Source

Built Distribution

lektor_jsminify-1.0-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

Details for the file lektor-jsminify-1.0.tar.gz.

File metadata

  • Download URL: lektor-jsminify-1.0.tar.gz
  • Upload date:
  • Size: 2.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.3

File hashes

Hashes for lektor-jsminify-1.0.tar.gz
Algorithm Hash digest
SHA256 127013c8af3d77ef87cb9ca0a53e6c9c6eecc6e3f6d1cdf6da83de0d1674e1a6
MD5 06a72aa647394756b12ce8a9edac3725
BLAKE2b-256 a88eea2a71f59716f87afbb68fc2e50ab71789c219cdef98cfa90193e20fc410

See more details on using hashes here.

File details

Details for the file lektor_jsminify-1.0-py3-none-any.whl.

File metadata

  • Download URL: lektor_jsminify-1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.3

File hashes

Hashes for lektor_jsminify-1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 68e087882f7e7f8fc5019d38686a74ddfd8b2fa9d09bb362f94a769c45b38e81
MD5 527b3df0e82554fd14f0e88a4454b302
BLAKE2b-256 29933268338ec1d3a6f9163469e7f97e28a117e38a7e12305fc1804089f94cc5

See more details on using hashes here.

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