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 = 0.2

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-0.3.1.tar.gz (2.6 kB view details)

Uploaded Source

Built Distribution

lektor_jsminify-0.3.1-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: lektor-jsminify-0.3.1.tar.gz
  • Upload date:
  • Size: 2.6 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-0.3.1.tar.gz
Algorithm Hash digest
SHA256 5c951645bf22979fd4ce741a53500c2362266ce228572ceb81e530dc84b4836d
MD5 9e7595ef5067f8e67ac268755c0a4f42
BLAKE2b-256 e235c1059ac594d0d919d568c8d6f17217b5cfb3838146080f6201aeeb46f486

See more details on using hashes here.

File details

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

File metadata

  • Download URL: lektor_jsminify-0.3.1-py3-none-any.whl
  • Upload date:
  • Size: 3.7 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-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2825f48865e6a94b8818a89fda07e57b93a1280ff2620d299bca8c4fcab4721a
MD5 ade4e189960cce6dbf1faf6fbdd40d24
BLAKE2b-256 55c7e0c9bd155ebb27202cd41fd598b1dace2ad60ead090422ae7cc7e54a9a2a

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