Skip to main content

# 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.

Download files

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

Source Distribution

webassets-babel-0.3.0.tar.gz (5.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

webassets_babel-0.3.0-py2.py3-none-any.whl (3.9 kB view details)

Uploaded Python 2Python 3

File details

Details for the file webassets-babel-0.3.0.tar.gz.

File metadata

File hashes

Hashes for webassets-babel-0.3.0.tar.gz
Algorithm Hash digest
SHA256 3f7651b167ee9d08b191d3112178f3106e74575aff238ef1c21d43faf2dd9a69
MD5 b94ae81e9f6e8570eac01e5e9422e6b5
BLAKE2b-256 eff7ee6685d704f3715e6d8ae96d39dd8049df48f0610531e00ab93009a20853

See more details on using hashes here.

File details

Details for the file webassets_babel-0.3.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for webassets_babel-0.3.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 c55e931d2881e115ebf4bc984d9e40ecbc88b5b321815c82f319b3658c38149b
MD5 d34358f7e5b134bebadebcaf7adca5fd
BLAKE2b-256 b0ab70d672a6046de0665ba039cd9c9b2dae770aabb27a64d1520e7f412c2afc

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.3.0 This release

2 files

0.2.0

2 files

0.1.3

2 files

0.1.2

1 file

0.1.1

2 files

0.1.0

1 file

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page