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

    Function importMsgResourcesFromPaths

    • Dynamically imports MsgResource objects from an array of file paths.

      Parameters

      • filePaths: string[]

        Array of absolute paths to .msg.(ts|js) files

      Returns Promise<MsgResource[]>

      Promise resolving to array of MsgResource instances

      Error if any file cannot be imported as a valid MsgResource