@diplodoc/cli 4.6.0-alpha-2 → 4.6.0-alpha-4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/build/index.js CHANGED
@@ -501,7 +501,7 @@ function preprocessPageHtmlForSinglePage(content, options) {
501
501
  }
502
502
 
503
503
  // src/utils/markup.ts
504
- var import_client = require("@diplodoc/client");
504
+ var import_ssr = require("@diplodoc/client/ssr");
505
505
  var import_manifest = __toESM(require("@diplodoc/client/manifest"));
506
506
  var dst = (bundlePath) => (target) => (0, import_path4.join)(bundlePath, target);
507
507
  function generateStaticMarkup(props, pathToBundle) {
@@ -515,7 +515,7 @@ function generateStaticMarkup(props, pathToBundle) {
515
515
  });
516
516
  const resources = getResources({ style, script });
517
517
  const { staticContent } = argv_default.getConfig();
518
- const html = staticContent ? (0, import_client.render)(props) : "";
518
+ const html = staticContent ? (0, import_ssr.render)(props) : "";
519
519
  return `
520
520
  <!DOCTYPE html>
521
521
  <html lang="${props.lang}">
@@ -4059,7 +4059,7 @@ import_yargs.default.command(build).command(publish).command(xliff).command(tran
4059
4059
  default: false,
4060
4060
  describe: "Run in quiet mode. Don't write logs to stdout",
4061
4061
  type: "boolean"
4062
- }).group(["config", "strict", "quiet", "help", "version"], "Common options:").version(true ? "4.6.0-alpha-2" : "").help().parse((0, import_helpers.hideBin)(process.argv), {}, (err, { strict }, output) => {
4062
+ }).group(["config", "strict", "quiet", "help", "version"], "Common options:").version(true ? "4.6.0-alpha-4" : "").help().parse((0, import_helpers.hideBin)(process.argv), {}, (err, { strict }, output) => {
4063
4063
  console.timeEnd(MAIN_TIMER_ID);
4064
4064
  if (err) {
4065
4065
  console.error(err);