The toolkit would comprise:
- watcher CLI, from VS Code
- Html2Dce.java single file( or stdin ) analyzer with output of validation warnings and DCE manifest with source maps
- DceGenerator.ts node CLI to accept the DCE manifest(s) and generates per HTML files and updates aggregated code
- node CLI which invokes watcher, on change runs analyzer pyped to generator. Output only warnings in IDE-console friendly format
- later watcher would be replaced by IDE plugin. Per IDE specific impl.
Generated Files
Aggregated files updated by analyzer of individual updated HTML. The aggregated DCE module name is configurable, defaults to index
"module": "index.js", - import of generated .dce.js
"types": "./index.d.ts" - typings from generated .dce.d.ts
"web-types": "./web-types.json" - IntelliJ
.vscode/settings.json
"html.customData": [
"./html.customData.json",
"./dist/html.customData-dce.json"
]
per HTML file
The toolkit would comprise:
Generated Files
Aggregated files updated by analyzer of individual updated HTML. The aggregated DCE module name is configurable, defaults to
index"module": "index.js",- import of generated.dce.js"types": "./index.d.ts"- typings from generated.dce.d.ts"web-types": "./web-types.json"- IntelliJ.vscode/settings.jsonper HTML file
.dce.d.ts.dce.js