Skip to content

Latest commit

 

History

History
34 lines (23 loc) · 596 Bytes

README.md

File metadata and controls

34 lines (23 loc) · 596 Bytes

Description

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.

Build

To build all demos,

npm run build

To build a demo,

npm run build -w <demo-name>

Launch a Demo

To serve a demo,

npm run serve -w <demo-name>

Demo List

  • 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