diff --git a/run-tasks.js b/run-tasks.js index 9646e84dc2..a859f12fd7 100644 --- a/run-tasks.js +++ b/run-tasks.js @@ -43,7 +43,8 @@ function sass () { fs.readdirSync('app/assets/sass').forEach(file => { if (!file.endsWith('.scss')) return - const result = sass.compile('app/assets/sass/' + file, { + const result = sass.renderSync({ + file: 'app/assets/sass/' + file, logger: sass.Logger.silent, loadPaths: [__dirname], sourceMap: true,