Less Loader has been initialized using an options object that does not match the API schema

报错:Less Loader has been initialized using an options object that does not match the API schema

解决方案 - 

   less-loader的版本号过高

    删除掉lessloader,下载一个低版本

 

yarn remove less-loader 

yarn add [email protected]

 

你可能感兴趣的:(报错)