I\'m using babel with gulp and create a simple DOM library in ES6. But after running and when i\'m going to use it, I got the Object.assign is not a function in
Object.assign is not a function
babel-core
$ npm install babel-core --save-dev
polyfill
import 'babel-core/polyfill';