An open API service indexing awesome lists of open source software.

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

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/