Source maps do not work with defineCustomElement and customElement: true #14163
Unanswered
Sanderovich
asked this question in
Help/Questions
Replies: 1 comment
-
|
It should not be supported. Currently, only the styles are added to the shadowRoot, and source maps are not included |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hey all,
I am trying to get source maps to work in a project that is using
defineCustomElementandcustomElement: true, so all component styling is added to the shadowRoot of the custom element. I made a small reproduction repository which you can find here https://github.com/Sanderovich/vue-3.5.25-custom-elements-sourcemap.With
build.sourcemapset totrueorinlinethe source maps are not added to the inline styling in the shadowRoot. Does anybody have an idea how to fix this, or an explanation why this does not work, or did I stumble upon a bug?Beta Was this translation helpful? Give feedback.
All reactions