Após a instalação do babel-loader, quando eu tento executar o npm run build-dev (aproximadamente no minuto 6:25 da aula "11 Babel-loader, a ponte entre o Webpack e o Babel") acontece o seguinte erro:
> webpack --config webpack.config.js
C:\Users\allan.santos\Documents\Projetos Angular\01-projeto-webpack\projeto-webpack\client\node_modules\webpack\bin\convert-argv.js:507
throw new Error("'output.filename' is required, either in config file or as --output-filename");
^
Error: 'output.filename' is required, either in config file or as --output-filename
at processOptions (C:\Users\allan.santos\Documents\Projetos Angular\01-projeto-webpack\projeto-webpack\client\node_modules\webpack\bin\convert-argv.js:507:11)
at processConfiguredOptions (C:\Users\allan.santos\Documents\Projetos Angular\01-projeto-webpack\projeto-webpack\client\node_modules\webpack\bin\convert-argv.js:150:4)
at module.exports (C:\Users\allan.santos\Documents\Projetos Angular\01-projeto-webpack\projeto-webpack\client\node_modules\webpack\bin\convert-argv.js:112:10)
at yargs.parse (C:\Users\allan.santos\Documents\Projetos Angular\01-projeto-webpack\projeto-webpack\client\node_modules\webpack\bin\webpack.js:171:41)
at Object.Yargs.self.parse (C:\Users\allan.santos\Documents\Projetos Angular\01-projeto-webpack\projeto-webpack\client\node_modules\yargs\yargs.js:533:18) at Object.<anonymous> (C:\Users\allan.santos\Documents\Projetos Angular\01-projeto-webpack\projeto-webpack\client\node_modules\webpack\bin\webpack.js:152:7)
at Module._compile (module.js:624:30)
at Object.Module._extensions..js (module.js:635:10)
at Module.load (module.js:545:32)
at tryModuleLoad (module.js:508:12)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! client@1.0.0 build-dev: `webpack --config webpack.config.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the client@1.0.0 build-dev script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
Alguém consegue ajudar? Obrigado