Typescript-How do I include additional scripts?

I’m very new to this area. I created the below folder structure:

Serverless
    serverless.yml
    function1.ts
    models1.ts
    models2.ts
    <other json, config files>

The models files have shared code between different functions. I already installed serverless-webpack and other webpack. I also added the below into the .yml file:

service:
  name: myapi

package:
  include:
    - models1.ts
    - models2.ts

When I run serverless package, I can see function1.ts get compiled into .js file and included in .serverless's .zip file, but I don’t see the models files get compiled. How do I get that work? Thanks