Output filename not configured error from Webpack
Posted by Anuj Nair on
Blog >> Output filename not configured error from Webpack
Whilst creating a new ReactJS app, I wanted to use Webpack to build all of my modules into a single bundle.
I had installed it globally by running
npm install webpack -gand I had included it in my project by running
npm install webpack --save-dev.
However, on running the
webpackcommand, I was seeing the following output:
Output filename not configured.
The solutionTurns out it was simple. I had missed the s from my
Adding the missing character solved the issue!
module.export = App; //Should be module.exports = App;