A comprehensive web component compiler that transforms TypeScript and JSX code into standards-compliant web components with complete development toolchain.
75
Build a web component library with proper build configuration for code splitting and lazy loading.
Create two web components:
User Card Component (user-card)
Product Card Component (product-card)
Create a utility file with a formatCurrency(amount: number): string function that both components can import and use.
Configure the build to:
dist output with lazy-loadable ES modules@generates
export interface Config {
outputTargets?: OutputTarget[];
// Other configuration options
}
export interface OutputTarget {
type: string;
dir?: string;
// Other output target options
}Provides web component compilation and build tooling with code splitting support.
Install with Tessl CLI
npx tessl i tessl/npm-stencil--coredocs
evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10