@cnbritain/merlin-sass-custom-importer
Advanced tools
Comparing version 1.1.4 to 1.1.5
@@ -116,3 +116,4 @@ 'use strict'; | ||
correctSassPartials(sassUrl); | ||
// sassUrl = correctSassPartials(sassUrl); | ||
sassUrl = correctRealPath(sassUrl); | ||
@@ -147,2 +148,10 @@ if(SESSION.has(sassUrl)){ | ||
function correctRealPath(url){ | ||
if(url.endsWith('.scss')){ | ||
return fs.realpathSync(url); | ||
} else { | ||
return fs.realpathSync(`${url}.scss`); | ||
} | ||
} | ||
function resolveComponentTheme(url, previous, merlinConfig){ | ||
@@ -149,0 +158,0 @@ // Check if we're using our keywords - theme, wireframe. If so, resolve |
{ | ||
"name": "@cnbritain/merlin-sass-custom-importer", | ||
"version": "1.1.4", | ||
"version": "1.1.5", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
5342
154