Do you want to use the latest JavaScript generation on your django project without any pain of setup? This package is for you.
pip install django-es2015-transformer
# settings.py
INSTALLED_APPS = [
...
'es2015_transformer',
]
# settings.py
STATICFILES_STORAGE = 'es2015_transformer.storage.BabelStaticFileStorage'
In your deploy server when you run the collectstatic command, your js files will be transformed in a ECMAScript5 code.