You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In my particular case, sl-menu-item is depending on 2 icons from default library - check-lg and chevron-right. The problem is, cause I am bundling shoelace myself, I can't find out upfront which icons are used for my bundled components. In fact, cause icons are loaded dynamically, I can't add hash to the filenames when using my bundler.
Describe the solution you'd like
There is some inconsistency currently, but some components are directly including there icons (even though they are also available in default library). The caret icon, in case of sl-button, for example. Generally I am happier with this behavior.
Describe alternatives you've considered
An alternative solution, maybeeee, would be importing icons with import statements, so that the bundler can better decide what to do, and we don't end up with duplicates.
The text was updated successfully, but these errors were encountered:
What issue are you having?
In my particular case,
sl-menu-item
is depending on 2 icons from default library -check-lg
andchevron-right
. The problem is, cause I am bundling shoelace myself, I can't find out upfront which icons are used for my bundled components. In fact, cause icons are loaded dynamically, I can't add hash to the filenames when using my bundler.Describe the solution you'd like
There is some inconsistency currently, but some components are directly including there icons (even though they are also available in default library). The
caret
icon, in case ofsl-button
, for example. Generally I am happier with this behavior.Describe alternatives you've considered
An alternative solution, maybeeee, would be importing icons with
import
statements, so that the bundler can better decide what to do, and we don't end up with duplicates.The text was updated successfully, but these errors were encountered: