We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e74e556 commit ab41bafCopy full SHA for ab41baf
frontend/encore/babel.rst
@@ -7,10 +7,6 @@ Configuring Babel
7
8
Need to extend the Babel configuration further? The easiest way is via
9
``configureBabel()``:
10
-But first let's install the babel preset.
11
-
12
-``yarn add babel-preset-es2017``
13
-This will install the preset that we will use later to configure the babel.
14
15
.. code-block:: javascript
16
@@ -19,7 +15,9 @@ This will install the preset that we will use later to configure the babel.
19
20
Encore
21
17
// ...
22
18
+
+ // make sure to install any presets you want to use
+ // yarn add babel-preset-es2017
23
// modify the default Babel configuration
24
.configureBabel(function(babelConfig) {
25
babelConfig.presets.push('es2017');
0 commit comments