Babel Bundle

by
Odoo
v 12.0 Third Party 134
Download for v 12.0 Deploy on Odoo.sh
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies Website (website)
Discuss (mail)
Lines of code 64880
Technical Name babel_bundle
LicenseAGPL-3
Websitehttps://erp.co.ua
Versions 12.0
You bought this module and need support? Click here!
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies Website (website)
Discuss (mail)
Lines of code 64880
Technical Name babel_bundle
LicenseAGPL-3
Websitehttps://erp.co.ua
Versions 12.0

Compile JS Bundles via Babel 6.x.

Instruction

  1. Install babel-cli global: npm install -g babel-cli.
  2. Add babel='True' tag to your js assets.

Presets

  • env
  • stage-2

Example

<template id="my_assets_frontend_js" inherit_id="website.assets_frontend">
  <xpath expr="//script[last()]" position="after">
    <script src="/website_my_addons/static/lib/history.min.js" type="text/javascript"/>
    <script src="/website_my_addons/static/lib/es6-awesome.js" type="text/javascript" babel="True"/>
  </xpath>
</template>

Please log in to comment on this module

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author, please use the developer contact information. They can usually be found in the description.
Please choose a rating from 1 to 5 for this module.