Skip to content

Commit e74e556

Browse files
authored
Added the command to install babel-preset for babel-loader
While testing this bundle i was getting hit by an erorr that i can't find the babel preset es2017 which i solved it by installing. I'm new to this webpack thing and to work like this with javascript. Some people might be in my position and try for hours to solve this. :D
1 parent d7fce7c commit e74e556

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

frontend/encore/babel.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ Configuring Babel
77

88
Need to extend the Babel configuration further? The easiest way is via
99
``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.
1014

1115
.. code-block:: javascript
1216

0 commit comments

Comments
 (0)