JS minifier for Lektor. Based on rjsmin.
Project description
JSminify
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file lektor-jsminify-0.3.2.tar.gz
.
File metadata
- Download URL: lektor-jsminify-0.3.2.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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9ddf7b42da798db1d9e4849748861f3ee2ce62a34671d211afbd0fd271da7578 |
|
MD5 | a8c08f34b3c940ae627726b0eb881b8b |
|
BLAKE2b-256 | 462c0f738ea4202257c9c801cdca736d62dcad27b3496521750a5f44365ae132 |
File details
Details for the file lektor_jsminify-0.3.2-py3-none-any.whl
.
File metadata
- Download URL: lektor_jsminify-0.3.2-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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 950347af68106116c248fe002f8827f64a1d3f3a71b7c37b5604602ad30e4e21 |
|
MD5 | c808d0c161c352c3777d5db3853dacbc |
|
BLAKE2b-256 | 70fc5eb75addd7de80fb3f93d02581c10799c0554a56d5dbf39bc088c7dd00d4 |