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
got this error when using toolbox-loader to load theme scss file replacement.
Invalid CSS after "...building: true;": expected 1 selector or at-rule, was "@mixin font-face($"
there's an extra character in front of "@mixin font", checked the original file, nothing there. looks like fs.readfile added it. added this code does the fix:
theme = theme.replace(/^\uFEFF/, '');
it's on windows platform, though. any suggestion on fixing it without code change?
The text was updated successfully, but these errors were encountered:
Hi! I'll be happy to merge a PR solving it but you have to know that toolbox-loader is actually no longer needed. You can now customize in multiple ways but the most similar is to provide the sass imports using sass-loader options. Please check react-toolbox docs or the example react-toolbox-example to update.
got this error when using toolbox-loader to load theme scss file replacement.
Invalid CSS after "...building: true;": expected 1 selector or at-rule, was "@mixin font-face($"
there's an extra character in front of "@mixin font", checked the original file, nothing there. looks like fs.readfile added it. added this code does the fix:
theme = theme.replace(/^\uFEFF/, '');
it's on windows platform, though. any suggestion on fixing it without code change?
The text was updated successfully, but these errors were encountered: