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
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.
The text was updated successfully, but these errors were encountered:
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.
when importing this module locally by following the pattern from https://github.com/openedx/frontend-build#local-module-configuration-for-webpack, i encountered a sass import error
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.
The text was updated successfully, but these errors were encountered: