Please tell me how to configure tsconfig to generate the js (umd format) code to register under the specified global variable name

the generated code is not registered with variables under window. Is there no such option? After reading the document several times, there is no mention of the following configuration like that in rollup:

{
    format: "umd",
    name: "my",
    file: "dist/my.umd.js",
  }
Menu