simple-ui-lib
simple-ui-lib copied to clipboard
how to handle images in inlined styles/template
Let's say I inline the styles and the template into the components' code. Both the template and the css contains urls pointing to images. That would be my library.
When I'm importing this library in my app I use webpack (eg angular cli). How can I make webpack handle those image files (as it would handle them if they were in html or css files)?