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
lektor-jsminify-0.2.tar.gz
(2.4 kB
view hashes)
Built Distribution
Close
Hashes for lektor_jsminify-0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dbf0047dcd1208655b33f619f6ad16874c9716999f34ae4b0b390ebd76d15448 |
|
MD5 | 44ac4d6ca3c133ae408cea3ee2ae46dd |
|
BLAKE2b-256 | e417ec3575eb366bd87e1fd0667fd195ae9265248bb7dd66086e18c6c1d402b3 |