Skip to content

Commit

Permalink
fix: silence new deprecations from sass
Browse files Browse the repository at this point in the history
  • Loading branch information
Rotzbua committed Oct 8, 2024
1 parent a0d17d6 commit 3c6de6c
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,17 @@ function taskBuildJsEnGb() {

const taskBuildJs = gulp.parallel(taskBuildJsMain, taskBuildJsDe, taskBuildJsFr, taskBuildJsNl, taskBuildJsCa, taskBuildJsEn, taskBuildJsEnGb, taskBuildDatetimepicker);

const sassOptions = {outputStyle: 'compressed', includePaths: ["web/"]};
/**
* Gulp-sass does not yet support new API.
* @see https://github.com/dlmanning/gulp-sass/pull/846
* @type {import('sass').LegacyOptions<sync>}
* // @type {import('sass').Options<sync>}
*/
const sassOptions = {
outputStyle: 'compressed',
includePaths: ['web/'],
silenceDeprecations: ['mixed-decls', 'legacy-js-api','color-functions'],
};

function taskBuildCss() {
return gulp.src("web/css/*.scss")
Expand Down

0 comments on commit 3c6de6c

Please sign in to comment.