Commit b072c5a2 by David Trowbridge

Merge pull request #551 from natecox/master

Adds documentation regarding ES6 config
parents 452f97f9 c0debb0f
...@@ -150,12 +150,14 @@ ES6 compiler ...@@ -150,12 +150,14 @@ ES6 compiler
The ES6 compiler uses `Babel <https://babeljs.io>`_ The ES6 compiler uses `Babel <https://babeljs.io>`_
to convert ES6+ code into vanilla ES5. to convert ES6+ code into vanilla ES5.
Note that for files to be transpiled properly they must have the file extension **.es6**
To use it add this to your ``PIPELINE['COMPILERS']`` :: To use it add this to your ``PIPELINE['COMPILERS']`` ::
PIPELINE['COMPILERS'] = ( PIPELINE['COMPILERS'] = (
'pipeline.compilers.es6.ES6Compiler', 'pipeline.compilers.es6.ES6Compiler',
) )
``BABEL_BINARY`` ``BABEL_BINARY``
-------------------------- --------------------------
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment