We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ab41baf commit b9edef8Copy full SHA for b9edef8
frontend/encore/babel.rst
@@ -16,9 +16,8 @@ Need to extend the Babel configuration further? The easiest way is via
16
Encore
17
// ...
18
19
- // make sure to install any presets you want to use
20
- // yarn add babel-preset-es2017
21
- // modify the default Babel configuration
+ // first, install any presets you want to use (e.g. yarn add babel-preset-es2017)
+ // then, modify the default Babel configuration
22
.configureBabel(function(babelConfig) {
23
babelConfig.presets.push('es2017');
24
})
0 commit comments