Skip to content

Commit

Permalink
chore: replace deprecated package
Browse files Browse the repository at this point in the history
  • Loading branch information
backflip committed May 4, 2023
1 parent adc1b0e commit 2eb6f0f
Show file tree
Hide file tree
Showing 3 changed files with 321 additions and 15 deletions.
4 changes: 2 additions & 2 deletions gulp/css.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const gulp = require('gulp')
const sass = require('gulp-sass')(require('node-sass'))
const nodeSassGlobbing = require('node-sass-globbing')
const globImporter = require('node-sass-glob-importer')

const autoprefixer = require('autoprefixer')
const postcss = require('gulp-postcss')
Expand All @@ -12,7 +12,7 @@ module.exports = config => {
})
.pipe(
sass({
importer: nodeSassGlobbing,
importer: globImporter(),
includePaths: config.includePaths
}).on('error', config.errorHandler)
)
Expand Down
Loading

0 comments on commit 2eb6f0f

Please sign in to comment.