From c6f18674788bedb895a628621b205caba54c0583 Mon Sep 17 00:00:00 2001 From: Art Lowel Date: Wed, 5 Jun 2019 18:49:00 +0200 Subject: [PATCH] make the relativethemePath relative to the project root instead of src root --- webpack/helpers.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webpack/helpers.js b/webpack/helpers.js index 9a77ebbd0d..c4fcebe152 100644 --- a/webpack/helpers.js +++ b/webpack/helpers.js @@ -58,7 +58,7 @@ else { themePath = srcPath; } -const relativeThemePath = path.relative(srcPath, themePath); +const relativeThemePath = path.relative(projectRoot('./'), themePath); const globalCSSImports = (env) => { return [ buildRoot('styles/_variables.scss', env),