Skip to content

Commit a26b04a

Browse files
committed
Updated ES6 section
Included a comment regarding the required file extension of ES6, as this was not immediately obvious to me. Fixes jazzband#550
1 parent 452f97f commit a26b04a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

docs/compilers.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,11 +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
)
160+
158161

159162

160163
``BABEL_BINARY``

0 commit comments

Comments
 (0)