#Using a web component

2 messages · Page 1 of 1 (latest)

young flax
#

I'm using npm module hdr-color-input, which is a web component. I declared it using this, in index.html:

    <script type="module">
      import "hdr-color-input";
    </script>

It works fine using ng serve locally, however when I build it remotely, it says the selector has not correctly been remapped and is not found.
How do I tell angular to bundle it properly ?

low stag