10000 minor #13579 Use non-deprecated options key to configure babel in enc… · symfony/symfony-docs@b3b6d81 · GitHub
[go: up one dir, main page]

Skip to content

Commit b3b6d81

Browse files
committed
minor #13579 Use non-deprecated options key to configure babel in encore (jdreesen)
This PR was merged into the 3.4 branch. Discussion ---------- Use non-deprecated options key to configure babel in encore The options key changed in `v0.24.0` from `include_node_modules` to `includeNodeModules` and the former one is deprecated. See: https://github.com/symfony/webpack-encore/blob/master/lib/WebpackConfig.js#L412-L415 Commits ------- 981fdc6 Use non-deprecated options key
2 parents 35f6249 + 981fdc6 commit b3b6d81

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

frontend/encore/babel.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@ Need to extend the Babel configuration further? The easiest way is via
2525
}, {
2626
// node_modules is not processed through Babel by default
2727
// but you can whitelist specific modules to process
28-
include_node_modules: ['foundation-sites'],
28+
includeNodeModules: ['foundation-sites'],
2929
3030
// or completely control the exclude rule (note that you
31-
// can't use both "include_node_modules" and "exclude" at
31+
// can't use both "includeNodeModules" and "exclude" at
3232
// the same time)
3333
exclude: /bower_components/
3434
})

0 commit comments

Comments
 (0)
0