This package demonstrates how to transpile ts files including lit-element and decorators in each ts transpilers (babel, esbuild, sucrase, swc, tsc), mainly investigating issues around class fileds and decorators.
To build all demos,
npm run build
To build a demo,
npm run build -w <demo-name>
To serve a demo,
npm run serve -w <demo-name>
- babel-lit-demo
- esbuild-lit-demo
- sucrase-lit-demo (decorators are not working)
- swc-lit-demo (decorators work from swc@1.2.175)
- tsc-lit-demo
- tsc-polymer-demo