Output filename not configured.
Webpack throws this error when there is a typo somewhere, or it could not find the config file.
Check the following things to resolve the issue :
webpack.config.jsnamed correctly without any typo (sometimes people forget to add
webpack.config.jsis in the root directory of the project
webpack.config.jshas no typos
- Export the JSON object from
- In terminal navigate to the directory where
webpack.config.jsthen run the
I hope one of those checks resolves your issue. If you would like to see more posts on common errors with webpack, let us know via your comments !