Closed aelbore closed 7 years ago
Heres a code ^^
import sass from 'node-sass';
styleProcessor: (stylePath, ext, styleFile, callback) => {
if (ext[0] === '.scss') {
let sassObj = sass.renderSync({ file: stylePath });
if (sassObj && sassObj['css']){
styleFile = sassObj.css.toString('utf8');
}
}
return callback(null, styleFile);
}
Can i use .scss instead of .css on the templateUrl? Thanks