Babel object assigns plugin to Gulp

I would like to use this plugin https://github.com/babel-plugins/babel-plugin-object-assign from https://github.com/babel/gulp-babel . Any idea how should I set this up?

+3


source to share


1 answer


Pretty much as shown in the documentation:



babel({plugins: ['object-assign']})

      

+3


source







All Articles