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
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.
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
@importin the.scssfile to point to the local directory instead of~@edx/frontend-component-header/dist/indexwhile this workaround is useful, it'd be much better to figure out what's preventing this from working as intended.