@worldware/msg-cli
    Preparing search index...

    Function importMsgProjectFile

    • Imports an existing MsgProject module from the projects directory.

      Parameters

      • projectsDir: string

        Absolute path to i18n/projects

      • projectName: string

        Name of the project (file name without extension)

      Returns Promise<MsgProjectFileData | undefined>

      The default export (MsgProject instance or data) or undefined if not found