Trace: The node type SpreadProperty has been renamed to SpreadElement at Object.isSpreadProperty

后端 未结 5 855
一整个雨季
一整个雨季 2020-12-17 07:54

I\'m launching a react app, and here\'s my Webpack configuration:

\'use strict\'

const ExtractPlugin = require(\'extract-text-webpack-plugin\')
const HTMLPl         


        
5条回答
  •  星月不相逢
    2020-12-17 08:19

    If nothing up here worked, Just remove plugins from old babel. In my case removing following spread plugin had disappeared the thing.

       plugins: ["transform-object-rest-spread"]
    

提交回复
热议问题