Update doc

This commit is contained in:
Alessandro Molina 2016-09-17 01:29:02 +02:00
parent b7070e16d3
commit 1c52466e09
1 changed files with 3 additions and 0 deletions

View File

@ -121,6 +121,8 @@ compile ES6 code in your assets pipeline. You register this filter as
register_filter(BabelJS)
Which makes the filter available with the ``babeljs`` name.
Only supported filter option is currently `BABEL_MODULES_LOADER = 'systemjs'` to
specify that compiled code should use SystemJS instead of CommonJS for modules.
**NOTE:** When using the BabelJS compiler for code that needs to run
in the browser, make sure to add
@ -152,6 +154,7 @@ compile JSX+ES6 code in your assets pipeline. You register this filter as
register_filter(BabelJSX)
Which makes the filter available with the ``babeljsx`` name.
This filter supports the same options as the babel one.
Less Transpiling
----------------