build Error -- extract-text-webpack-plugin

npm build后出现了一堆血红

Error Msg

extract-text-webpack-plugin\loader.js:25:9

《build Error -- extract-text-webpack-plugin》

看了下git, 并没有改动到npm配置,然后发现是版本问题,我就把他降级了,可以了。

降级处理
解决方案:

npm install --save-dev extract-text-webpack-plugin@2.1.2

(webpack1的话)

npm install --save-dev extract-text-webpack-plugin@1.0.1

图:

《build Error -- extract-text-webpack-plugin》

–OK–

–END–

    原文作者:谢秀岳
    原文地址: https://www.jianshu.com/p/82f7b429f690
    本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系博主进行删除。
点赞