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.jsextension)webpack.config.jsis in the root directory of the projectwebpack.config.jshas no typos- Export the JSON object from
webpack.config.js - In terminal navigate to the directory where
webpack.config.jsthen run thewebpackcommand.