TypeScript, AWS SAM and Rollup.js

This time we are using Rollup instead of Webpack and it is super easy. Also it requires less configuration.

Before going further I suggest you read the other blog post which will explain the conventions behind the Rollup configuration.

Rollup Configuration

AWS SAM Template

Result

When developing you would want to start it in watch mode with --watch. Then you can always use sam local invoke as normal.

I build stuff at Relatel A/S, vivid traveller and gear junkie.