Skip to main content

A package to minimize your scripts and stylesheets

Project description

minipush by Rémi "Mr e-RL" LANGDORPH (c)2019 Rémi LANGDORPH - mrerl@warlegend.net

This lib supports the followings filetypes: css, js

Sample config: { "origin": {"folders":["css/", "js/core/", "js/plugins/", "js/"]}, "destination": {"folder": "../templates/", "exts": ["htm", "html"], "type": "embed", "basefolderlink": "/static/"}, "anchors": {"js": {"start": "", "end": ""}, "css": {"start": "", "end": ""}, "conf": {"start": ""} }, "format":{"embed":{"js": "<script>{content}</script>", "css": "<style>{content}</style>"}, "link":{"js": "<script src='{path}'/>", "css": ""} }, "cache": {"folder": "../static/", "enabled": true} }

Example script: from minipush import Minipush Minipush(file="config.json").run()

Don't hesitate to use the 'python -m minipush' (-h to see help)

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

minipush-0.0.3.tar.gz (11.4 kB view hashes)

Uploaded Source

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