Skip to content
Snippets Groups Projects
Commit 99ca2ded authored by Art Lowel's avatar Art Lowel
Browse files

Revert "switch to relative theme paths for windows support"

This reverts commit a5d61312
parent a6bb83b4
Branches
Tags
No related merge requests found
......@@ -58,8 +58,6 @@ else {
themePath = srcPath;
}
const relativeThemePath = path.relative(srcPath, themePath);
const globalCSSImports = (env) => { return [
buildRoot('styles/_variables.scss', env),
buildRoot('styles/_mixins.scss', env),
......@@ -68,7 +66,7 @@ const globalCSSImports = (env) => { return [
const getThemedPath = (componentPath, ext) => {
const parsedPath = path.parse(componentPath);
const relativePath = path.relative(srcPath, parsedPath.dir);
return path.join(relativeThemePath, relativePath, `${parsedPath.name}.${ext}`);
return path.join(themePath, relativePath, `${parsedPath.name}.${ext}`);
};
const themedTest = (origPath, extension) => {
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment