@wp-blocks/make-pot
    Preparing search index...

    Function outputJson

    • Outputs the pot file in json format based on the command line arguments --json option

      Parameters

      • args: Args

        The command line arguments

      • potHeader: Record<string, string> | null

        The pot file header

      • translationsUnion: SetOfBlocks

        The translations union

      Returns string

      • The output pot file