Create an extendable customElement button.
$ npm install button-component
require('webcomponents.js')
document.registerElement('custom-button', require('button-component'))
const customButton = document.createElement('button', 'custom-button')
document.body.appendChild(customButton)
// => <button is="custom-button"></button>