https://github.com/bfontaine/webassets-iife
webassets filter to wrap a JS bundle in an IIFE to avoid global leaks and improve minification
https://github.com/bfontaine/webassets-iife
iife library python webassets
Last synced: 4 months ago
JSON representation
webassets filter to wrap a JS bundle in an IIFE to avoid global leaks and improve minification
- Host: GitHub
- URL: https://github.com/bfontaine/webassets-iife
- Owner: bfontaine
- License: mit
- Created: 2014-03-24T22:58:42.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2014-03-30T15:02:13.000Z (over 11 years ago)
- Last Synced: 2025-03-23T23:43:42.268Z (7 months ago)
- Topics: iife, library, python, webassets
- Language: Python
- Homepage: http://webassets-iife.readthedocs.org/en/latest/
- Size: 164 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
==============
webassets-iife
==============
.. image:: https://img.shields.io/travis/bfontaine/webassets-iife.png
:target: https://travis-ci.org/bfontaine/webassets-iife
:alt: Build status
.. image:: https://img.shields.io/coveralls/bfontaine/webassets-iife/master.png
:target: https://coveralls.io/r/bfontaine/webassets-iife?branch=master
:alt: Coverage status
.. image:: https://img.shields.io/pypi/v/webassets-iife.png
:target: https://pypi.python.org/pypi/webassets-iife
:alt: Pypi package
.. image:: https://img.shields.io/pypi/dm/webassets-iife.png
:target: https://pypi.python.org/pypi/webassets-iife
``webassets-iife`` is a webassets_ filter to wrap a JavaScript bundle in an
IIFE to prevent global leaks and improve minification.
.. _webassets: https://webassets.readthedocs.org/en/latest/
Install
-------
.. code-block::
pip install webassets-iife
The filter works with both Python 2.x and 3.x.
Usage
-----
`Read the docs`_.
.. _Read the docs: http://webassets-iife.readthedocs.org/en/latest/