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
{{ message }}
Repository navigation
SassError when importing as a part of localModules in module.config.js #259
SassError: Can't find stylesheet to import.
[...]
@import '~@edx/frontend-component-header/dist/index';
after talking to @arbrandes, i learned this was a known issue, and that the current workaround is to modify the @import in the .scss file to point to the local directory instead of ~@edx/frontend-component-header/dist/index
while this workaround is useful, it'd be much better to figure out what's preventing this from working as intended.
It is because we arer importing .scss file from src folder locally. While the path entered in .scss file of MFE requires dist folder in header component.
Activity
hinakhadim commentedon Apr 15, 2024
It is because we arer importing
.scssfile fromsrcfolder locally. While the path entered in.scssfile of MFE requiresdistfolder in header component.