move sass lib utilities into core styles

pull/95/head
dperolio 2 years ago
parent 2dd373610c
commit c109310157
No known key found for this signature in database
GPG Key ID: 4191689562D51409

@ -61,7 +61,7 @@ function compileSass (_, file) {
return new Promise((res, reject) => {
readFile(file, 'utf8').then(rawScss => {
try {
const relativePath = relative(file, join(__dirname, '..', 'src', 'core', 'lib', 'sass'));
const relativePath = relative(file, join(__dirname, '..', 'renderer', 'src', 'styles', 'utils'));
const absolutePath = resolve(join(file, relativePath));
const fixedScss = rawScss.replace('@vizality', absolutePath.split(sep).join(posix.sep));
const result = renderSync({

Loading…
Cancel
Save