Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit e74e556

Browse filesBrowse 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
Copy full SHA for e74e556

File tree

Expand file treeCollapse file tree

1 file changed

+4
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+4
-0
lines changed

‎frontend/encore/babel.rst

Copy file name to clipboardExpand all lines: frontend/encore/babel.rst
+4Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.