fix(deps): get rid of fibers

This commit is contained in:
Bobby 2022-03-09 06:44:23 +07:00
parent f67a4c8539
commit 2495a25ca9
No known key found for this signature in database
GPG Key ID: 941839794CBF5A09
2 changed files with 1 additions and 3 deletions

View File

@ -2,7 +2,6 @@ const { exec } = require('child_process')
const gulp = require('gulp') const gulp = require('gulp')
const cssnano = require('cssnano') const cssnano = require('cssnano')
const del = require('del') const del = require('del')
const Fiber = require('fibers')
const buble = require('gulp-buble') const buble = require('gulp-buble')
const eslint = require('gulp-eslint7') const eslint = require('gulp-eslint7')
const gulpif = require('gulp-if') const gulpif = require('gulp-if')
@ -106,7 +105,7 @@ gulp.task('build:sass', function () {
ignore: '_*.scss' ignore: '_*.scss'
}) })
.pipe(sourcemaps.init()) .pipe(sourcemaps.init())
.pipe(sass({ fiber: Fiber }).on('error', sass.logError)) .pipe(sass().on('error', sass.logError))
.pipe(postcss(postcssPlugins)) .pipe(postcss(postcssPlugins))
.pipe(sourcemaps.write('.')) .pipe(sourcemaps.write('.'))
.pipe(gulp.dest(dist)) .pipe(gulp.dest(dist))

View File

@ -69,7 +69,6 @@
"eslint-plugin-import": "~2.25.4", "eslint-plugin-import": "~2.25.4",
"eslint-plugin-node": "~11.1.0", "eslint-plugin-node": "~11.1.0",
"eslint-plugin-promise": "~4.3.1", "eslint-plugin-promise": "~4.3.1",
"fibers": "~5.0.0",
"gulp": "~4.0.2", "gulp": "~4.0.2",
"gulp-buble": "~0.9.0", "gulp-buble": "~0.9.0",
"gulp-cli": "~2.3.0", "gulp-cli": "~2.3.0",