During the Vite production build, shoelace icons are not bundled as part of the components.js barrel file.
Be careful as this is not caught during the dev build, or docs dev server because they are served through Vite.
To properly test this functionality, you will need to move the components.js file out of the web components repository and test it with a fresh Vite config.
During the Vite production build, shoelace icons are not bundled as part of the
components.js
barrel file.Be careful as this is not caught during the dev build, or docs dev server because they are served through Vite.
To properly test this functionality, you will need to move the
components.js
file out of the web components repository and test it with a fresh Vite config.Screenshots