make the relativethemePath relative to the project root instead of src root

This commit is contained in:
Art Lowel
2019-06-05 18:49:00 +02:00
parent a5d6131238
commit c6f1867478

View File

@@ -58,7 +58,7 @@ else {
themePath = srcPath; themePath = srcPath;
} }
const relativeThemePath = path.relative(srcPath, themePath); const relativeThemePath = path.relative(projectRoot('./'), themePath);
const globalCSSImports = (env) => { return [ const globalCSSImports = (env) => { return [
buildRoot('styles/_variables.scss', env), buildRoot('styles/_variables.scss', env),