https://github.com/break-stuff/stencil-cem-repro
This is a simple repro of an issue with Stencil and the CEM Analyzer
https://github.com/break-stuff/stencil-cem-repro
Last synced: about 1 year ago
JSON representation
This is a simple repro of an issue with Stencil and the CEM Analyzer
- Host: GitHub
- URL: https://github.com/break-stuff/stencil-cem-repro
- Owner: break-stuff
- License: mit
- Created: 2023-11-05T00:37:47.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-11-05T00:45:41.000Z (over 2 years ago)
- Last Synced: 2025-02-09T12:18:09.468Z (over 1 year ago)
- Language: TypeScript
- Size: 50.8 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
# Strencil / CEM Analyzer Repro
This repo is to illustrate an issue with generating a custom elements manifest in Stencil components with the CEM Analyzer.
The issue is the analyzer generates an attribute and property for all properties in the component, even if the `@Prop()` is intended to be only a property. There doesn't seem to be a way to differentiate attributes from properties in Stencil.
To repro the issue:
- `npm install`
- `npm run anlyze`
Note that there is an attribute and a property for the `gridData` property in the `custom-elements.json`.