Merge pull request #309 from Serraniel/dependabot/npm_and_yarn/develop/gulp-sass-5.0.0
This commit is contained in:
commit
30db52381b
|
@ -15,7 +15,7 @@ const { debug } = require('console');
|
|||
|
||||
const $ = gulpLoadPlugins()
|
||||
|
||||
$.sass.compiler = require('sass');
|
||||
const sass = require('gulp-sass')(require('sass'));
|
||||
|
||||
/* ============================================================================
|
||||
Base consts
|
||||
|
@ -82,11 +82,11 @@ gulp.task('styles', () => {
|
|||
// sourcemap initialization
|
||||
.pipe($.if(isDev, $.sourcemaps.init()))
|
||||
// sass compilation
|
||||
.pipe($.sass.sync({
|
||||
.pipe(sass.sync({
|
||||
outputStyle: 'expanded',
|
||||
precision: 7,
|
||||
includePaths: ['.'],
|
||||
}).on('error', $.sass.logError))
|
||||
}).on('error', sass.logError))
|
||||
// autoprefix
|
||||
.pipe($.autoprefixer())
|
||||
// out stream size
|
||||
|
|
949
package-lock.json
generated
949
package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
@ -63,7 +63,7 @@
|
|||
"gulp-postcss": "^9.0.0",
|
||||
"gulp-rename": "^2.0.0",
|
||||
"gulp-replace": "^1.1.3",
|
||||
"gulp-sass": "^4.1.1",
|
||||
"gulp-sass": "^5.0.0",
|
||||
"gulp-size": "^4.0.1",
|
||||
"gulp-sourcemaps": "^3.0.0",
|
||||
"gulp-terser": "^2.0.1",
|
||||
|
|
Loading…
Reference in a new issue