webpack打包报错系列(一)configuration has an unknown property ‘mode‘
我一直以为是我mode写错了还是咋地,认真看了两遍没写错啊,mode:'production',devServer:{contentBase:resolve(__dirname,'build'),compress:true,port:3000,open:true}好的卸载重装:全局安装变成非全局安装卸载:npm uninstall webpack-cli -g重装:npm install webp