Skip to main content
Help improve PyPI by participating in a 5-minute user interface survey!

Babel filter for Webassets

Project Description

# Webassets Babel

Babel filter for [Webassets](https://webassets.readthedocs.org/en/latest/)

## Description

Turn your ES6+ code into ES5 friendly code using https://babeljs.io/

## Installation

` npm install -g babel pip install webassets-babel `

## Using

First register filter:

` from webassets.filter import register_filter from webassets_babel import BabelFilter register_filter(BabelFilter) `

Then you can use it in your build process:

` Bundle('file.js', filters='babel') `

You can change babel binary using BABEL_BIN setting of your application.

History

0.3.0 (2015-10-09)

  • Bug fix

0.2.0 (2015-09-27)

  • Enable filter in debug mode

0.1.2 (2015-04-26)

  • First release on PyPI.

Release history Release notifications

This version
History Node

0.3.0

History Node

0.2.0

History Node

0.1.3

History Node

0.1.2

History Node

0.1.1

History Node

0.1.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
webassets_babel-0.3.0-py2.py3-none-any.whl (3.9 kB) Copy SHA256 hash SHA256 Wheel 2.7 Oct 9, 2015
webassets-babel-0.3.0.tar.gz (5.3 kB) Copy SHA256 hash SHA256 Source None Oct 9, 2015

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page