Describe the bug We use Lit with shadow DOM and we use external stylesheets that we import usingimport styles from './button.css?lit-css' To achieve this, we added the appropriate configuration for Typescript and Vite. Unfortunately due to the .css extension that is handled somewhat magically...
log(logo); // /logo.84287d09.png function Header() { // Import result is the URL of your image return ; } export default Header; This ensures that when the project is built, Webpack will correctly move the images into the build folder, and provide us with correct paths. This works ...