美文网首页
React项目按需打包设置后报错./node_modules/a

React项目按需打包设置后报错./node_modules/a

作者: Poppy11 | 来源:发表于2020-07-15 16:39 被阅读0次

    ./node_modules/antd/es/style/index.less (./node_modules/css-loader/dist/cjs.js??ref--6-oneOf-7-1!./node_modules/postcss-loader/src??postcss!./node_modules/resolve-url-loader??ref--6-oneOf-
    7-3!./node_modules/less-loader/dist/cjs.js??ref--6-oneOf-7-4!./node_modules/antd/es/style/index.less)
    ValidationError: Invalid options object. Less Loader has been initialized using an options object that does not match the API schema.

    yarn remove less-loader
    yarn add less-loader@5.0.0
    

    相关文章

      网友评论

          本文标题:React项目按需打包设置后报错./node_modules/a

          本文链接:https://www.haomeiwen.com/subject/wgljhktx.html