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

    Function getParser

    • Return the parser based on the file extension

      Parameters

      • file: string

        Path to the file

      Returns string | { language: unknown; name: string } | null

      • the parser to be used with the file or null if no parser is found