New sass module
* Changed sass module to dart-sass * Fixed missing sass compiler for gulp-sass
This commit is contained in:
parent
f54dbe92d9
commit
6b217b6ebb
3 changed files with 36 additions and 2607 deletions
|
|
@ -20,7 +20,7 @@ const nunjucksRender = require('gulp-nunjucks-render');
|
|||
// const nunjucks = require('gulp-nunjucks');
|
||||
const data = require('gulp-data');
|
||||
const jsonConcat = require('gulp-json-concat');
|
||||
const sass = require('gulp-sass');
|
||||
const sass = require('gulp-sass')(require('sass'));
|
||||
const autoprefixer = require('gulp-autoprefixer');
|
||||
const sassLint = require('gulp-sass-lint');
|
||||
const rename = require('gulp-rename');
|
||||
|
|
@ -132,7 +132,7 @@ function nunjucks() {
|
|||
function style() {
|
||||
return src(input.style)
|
||||
.pipe(plumber())
|
||||
.pipe(sass({
|
||||
.pipe(sass.sync({
|
||||
includePaths: [input.vendor + '/**/*.s+(a|c)ss']
|
||||
}).on('error', sass.logError))
|
||||
.pipe(autoprefixer(['>= 4%', 'last 2 version']))
|
||||
|
|
|
|||
2635
package-lock.json
generated
2635
package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
|
@ -48,7 +48,7 @@
|
|||
"jshint": "~2",
|
||||
"jshint-stylish": "^2.2.1",
|
||||
"merge-stream": "^2.0.0",
|
||||
"node-sass": "~7",
|
||||
"pump": "^3.0.0"
|
||||
"pump": "^3.0.0",
|
||||
"sass": "^1.49.7"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue