mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 01:54:15 +00:00
Revert "switch to relative theme paths for windows support"
This reverts commit a5d61312
This commit is contained in:
@@ -58,8 +58,6 @@ else {
|
|||||||
themePath = srcPath;
|
themePath = srcPath;
|
||||||
}
|
}
|
||||||
|
|
||||||
const relativeThemePath = path.relative(srcPath, themePath);
|
|
||||||
|
|
||||||
const globalCSSImports = (env) => { return [
|
const globalCSSImports = (env) => { return [
|
||||||
buildRoot('styles/_variables.scss', env),
|
buildRoot('styles/_variables.scss', env),
|
||||||
buildRoot('styles/_mixins.scss', env),
|
buildRoot('styles/_mixins.scss', env),
|
||||||
@@ -68,7 +66,7 @@ const globalCSSImports = (env) => { return [
|
|||||||
const getThemedPath = (componentPath, ext) => {
|
const getThemedPath = (componentPath, ext) => {
|
||||||
const parsedPath = path.parse(componentPath);
|
const parsedPath = path.parse(componentPath);
|
||||||
const relativePath = path.relative(srcPath, parsedPath.dir);
|
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) => {
|
const themedTest = (origPath, extension) => {
|
||||||
|
Reference in New Issue
Block a user