__VERSION__: execSync()

in rollup.config.js [107:124]


      __VERSION__: execSync("git rev-list HEAD --max-count=1")
        .toString()
        .trim(),
      // https://atomiks.github.io/tippyjs/v5/faq/#rollup
      "process.env.NODE_ENV": JSON.stringify(
        production ? "production" : "development"
      ),
      GLEAN_SOURCE_TAGS: process.env.GLEAN_SOURCE_TAGS || "",
      __DISPLAY_VERSION__: execSync("git describe --abbrev=0 --tags")
        .toString()
        .trim(),
    }),
    // If you have external dependencies installed from
    // npm, you'll most likely need these plugins. In
    // some cases you'll need additional configuration -
    // consult the documentation for details:
    // https://github.com/rollup/plugins/tree/master/packages/commonjs
    resolve({