feat: use dart sass instead of node sass.

This commit is contained in:
Ivan Li 2022-10-08 16:10:20 +00:00
parent 5d8d8d049d
commit 4d1d52095f
3 changed files with 61 additions and 503 deletions

View File

@ -1,7 +1,7 @@
"use strict"; "use strict";
const gulp = require("gulp"); const gulp = require("gulp");
const sass = require("gulp-sass"); const sass = require('gulp-sass')(require('sass'));
const sourcemaps = require("gulp-sourcemaps"); const sourcemaps = require("gulp-sourcemaps");
const cleanCss = require("gulp-clean-css"); const cleanCss = require("gulp-clean-css");
const htmlMinifier = require("gulp-html-minifier"); const htmlMinifier = require("gulp-html-minifier");

View File

@ -15,7 +15,7 @@
"gulp-eslint": "5.0.0", "gulp-eslint": "5.0.0",
"gulp-html-minifier": "0.1.8", "gulp-html-minifier": "0.1.8",
"gulp-rename": "1.3.0", "gulp-rename": "1.3.0",
"gulp-sass": "4.0.1", "gulp-sass": "5.1.0",
"gulp-sourcemaps": "2.6.4", "gulp-sourcemaps": "2.6.4",
"gulp-uglify": "3.0.0", "gulp-uglify": "3.0.0",
"highlightjs": "9.10.0", "highlightjs": "9.10.0",

File diff suppressed because it is too large Load Diff