Output filename not configured Error in Webpack

前端 未结 17 2013
执笔经年
执笔经年 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:12

    Common mistakes of this error is typo and most of the times it's writing module.export instead of module.exports. Also check the file name should be with a .js extension. e.g. webpack.config.js

提交回复
热议问题