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
thescientist13
changed the title
nested @import of @import statements in CSS are not resolving
nested @import of an @import statement in CSS is not resolving or bundling correctly
Dec 2, 2024
thescientist13
changed the title
nested @import of an @import statement in CSS is not resolving or bundling correctly
bare CSS @import specifiers are not resolving and bundling correctly
Dec 11, 2024
Type of Change
Bug
Summary
Observed as part of testing for #1309 that when we try and leverage Spectrum's CSS files through an
@import
, e.g.This file will load
BUT, it will lead to errors on other files it references
Details
In theory I thought this was covered by #1257 but I guess we are not recursively handling
@import
statements within@import
statements? Here's what the file looks like from unpkghttps://unpkg.com/browse/@spectrum-web-components/[email protected]/all-large-dark.css
Perhaps this is specific to
@import
in node_modules specifically though? Perhaps we should do something similar to #684 and prefix things as such?Or check if things do / don't have a
./
or../
and automatically resolve that way?The text was updated successfully, but these errors were encountered: