bug: Comments within objects are not resolved correctly - Angular Build not possible. #483
Open
3 tasks done
Labels
help wanted
a good issue for the community
package: angular
@stencil/angular-output-target package
type: bug
Something isn't working
Prerequisites
Stencil Version
4.21.0
Stencil Framework Output Target
Angular
Stencil Framework Output Target Version
0.9.0
Current Behavior
If I add a comment within an event type, this is built inline in the build and breaks the components.d.ts file.
Angular can then no longer be built.
Input
Output
Expected Behavior
Comments should be removed or made safe (new line or similar)
Steps to Reproduce
Open: https://stackblitz.com/edit/stencil-template-aiden-c7padq?file=angular-workspace%2Fprojects%2Fcomponent-library%2Fsrc%2Flib%2Fstencil-generated%2Fcomponents.ts
Run:
npm run build
Code Reproduction URL
https://stackblitz.com/edit/stencil-template-aiden-c7padq?file=angular-workspace%2Fprojects%2Fcomponent-library%2Fsrc%2Flib%2Fstencil-generated%2Fcomponents.ts
Additional Information
No response
The text was updated successfully, but these errors were encountered: