If I understand it correctly:
webpackis usingassets/as the root directory- therefore
assets/babel.config.jsis in the root directory - the default is
rootMode: "root" - so it “just works”
"upward" is necessary when your configuration file in a parent directory is controlling the configuration of multiple Node.js projects below it.






















