From 99ca2dedea78bd7b44046312f0d5ef76c94548db Mon Sep 17 00:00:00 2001 From: Art Lowel Date: Thu, 6 Jun 2019 09:28:39 +0200 Subject: [PATCH] Revert "switch to relative theme paths for windows support" This reverts commit a5d61312 --- webpack/helpers.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/webpack/helpers.js b/webpack/helpers.js index 9a77ebbd0d..8bc12495ce 100644 --- a/webpack/helpers.js +++ b/webpack/helpers.js @@ -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) => {