message: fix(cli): don't wait for content loaded in bundled HTML
diff: @@ -217,18 +217,18 @@ async function getPageHTML(
  const template = compile(readFileSync(templateFileName).toString());
  return template({
  redocHTML: `
  + <div id="redoc">${(ssr && html) || ''}</div>
  <script>
  ${(ssr && `const __redoc_state = ${JSON.stringify(state)};`) || ''}
  - document.addEventListener('DOMContentLoaded', function() {
  +
  var container = document.getElementById('redoc');
  Redoc.${
  ssr
  ? 'hydrate(__redoc_state, container);'
  : `init("spec.json", ${JSON.stringify(redocOptions)}, container)`
  };
  - });
  - </script>
  - <div id="redoc">${(ssr && html) || ''}</div>`,
  +
  + </script>`,
  redocHead: ssr
  ? (cdn
  ? '<script src="https://unpkg.com/redoc@next/bundles/redoc.standalone.js"></script>'
  