Skip to content

Commit b072c5a

Browse files
committed
Merge pull request jazzband#551 from natecox/master
Adds documentation regarding ES6 config
2 parents 452f97f + c0debb0 commit b072c5a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docs/compilers.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,12 +150,14 @@ ES6 compiler
150150
The ES6 compiler uses `Babel <https://babeljs.io>`_
151151
to convert ES6+ code into vanilla ES5.
152152

153+
Note that for files to be transpiled properly they must have the file extension **.es6**
154+
153155
To use it add this to your ``PIPELINE['COMPILERS']`` ::
154156

155157
PIPELINE['COMPILERS'] = (
156158
'pipeline.compilers.es6.ES6Compiler',
157159
)
158-
160+
159161

160162
``BABEL_BINARY``
161163
--------------------------

0 commit comments

Comments
 (0)