|
|
@@ -11,7 +11,7 @@ export default function SemiThemeLoader(source: string) {
|
|
|
let animationStr = `@import "~${theme}/scss/animation.scss";\n`;
|
|
|
|
|
|
try {
|
|
|
- require.resolve(`${theme}/scss/animation.scss`);
|
|
|
+ resolve.sync(this.context, `${theme}/scss/animation.scss`);
|
|
|
} catch (e) {
|
|
|
animationStr = ""; // fallback to empty string
|
|
|
}
|