rollup-plugin-lwc-typescript
Simple Rollup plugin to transform TypeScript files to JavaScript for Lightning Web Components.
Make sure to add it before the LWC rollup plugin.
;;... { return input: path output: file: path format: "esm" plugins:
Read more about Lightning Web Components here.
Live App
If you want to see Lightning Web Components in action - check out https://recipes.lwc.dev.