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

后端 未结 5 843
一整个雨季
一整个雨季 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

    Before in my .babelrc

    i was using the plugin: ["transform-object-rest-spread", { "useBuiltIns": true }],

    then i switch it to "@babel/plugin-proposal-object-rest-spread" and all those warnings went away, which has been very nice. `

提交回复
热议问题