Home  >  Q&A  >  body text

gulp-babel cannot transcode fill method and Object.assign method of array? Ask for help

The source code has not been transferred, so it is not compatible with low-level browsers. Please help. How can I configure it to transfer it?

仅有的幸福仅有的幸福2663 days ago1220

reply all(1)I'll reply

  • 曾经蜡笔没有小新

    曾经蜡笔没有小新2017-07-05 10:59:35

    These features are not transcoding content and have nothing to do with gulp. You only need to import 'babel-polyfill' in the code and install the babel-polyfill dependency through NPM to introduce API Polyfill implementations that are compatible with lower version browsers.

    reply
    0
  • Cancelreply