Output filename not configured Error in Webpack

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

    I came across this error when there is a spelling mistake the config details.

    output: {
        path: "app/dist/assets",
        filname: "bundle.js",
        publicPath: "assets"
    },
    

    mispelled "filename". on correcting the spelling, this issue is resolved

提交回复
热议问题