Output filename not configured Error in Webpack

前端 未结 17 2019
执笔经年
执笔经年 2021-01-07 18:08

I had installed it globally by running npm install webpack -g and I had included it in my project by running npm install webpack --save-dev.

However, on running the

17条回答
  •  醉酒成梦
    2021-01-07 18:24

    Following are the things to check when you get this error.

    • Whether your executing webpack command in the directory where your webpack.config.js file resides.
    • You may be pointing to the wrong directory in your terminal.
    • Typo error with the file name "webpack.config.js".
    • No Module to export in your config file.
    • Check for typo error in your config file

提交回复
热议问题