createElement = (prefix, component, file, isAsync) => {
  const { camelName, kebabName } = exports.fileToComponentName(prefix, component)

  return isAsync
    ? `window.customElements.define('${kebabName}', wrap(Vue, () => import('~root/${file}?shadow')))\n`
    : `import ${camelName} from '~root/${file}?shadow'\n` +
        `window.customElements.define('${kebabName}', wrap(Vue, ${camelName}))\n`
}
Creates the script to add the component to the custom elements
@param {string} prefix The prefix for the component library
@param {string} component The component name for single entry builds, component file for multi-entry builds
@param {string} file The file for the component
@param {boolean} isAsync Whether to load component async or not