diff --git a/frontend/encore/babel.rst b/frontend/encore/babel.rst index a312fd60174..7f10688b150 100644 --- a/frontend/encore/babel.rst +++ b/frontend/encore/babel.rst @@ -25,10 +25,10 @@ Need to extend the Babel configuration further? The easiest way is via }, { // node_modules is not processed through Babel by default // but you can whitelist specific modules to process - include_node_modules: ['foundation-sites'], + includeNodeModules: ['foundation-sites'], // or completely control the exclude rule (note that you - // can't use both "include_node_modules" and "exclude" at + // can't use both "includeNodeModules" and "exclude" at // the same time) exclude: /bower_components/ })