Skip to content

Latest commit

 

History

History
33 lines (26 loc) · 669 Bytes

README.md

File metadata and controls

33 lines (26 loc) · 669 Bytes

HTML PLUS

Enhance your static HTML declaratively with HTML Plus. Easily add dynamic features through web components for an enriched and extensible user experience.

Required:

// tsconfig
"target": "es2022",
"lib": [
"es2022",
"esnext.decorators",
"dom"
],
"emitDecoratorMetadata": true,
"experimentalDecorators": false,
// main.js
Symbol.metadata ??= Symbol('Symbol.metadata');

Vite, Esbuild

Disable esbuild and use tsc instead Esbuild doesn't support emitDecoratorMedata yet.

https://github.com/ezolenko/rollup-plugin-typescript2