Skip to content

Commit

Permalink
deprecate node-sass in favor of dart-sass & address deprecation warni…
Browse files Browse the repository at this point in the history
…ng (#154)
  • Loading branch information
markdboyd authored Jul 9, 2024
1 parent 5faef51 commit 0016766
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 1,848 deletions.
7 changes: 4 additions & 3 deletions gulpfile.babel.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,20 +11,21 @@ import Mustache from 'mustache';
import through from 'through2';
import browserify from 'browserify';
import source from 'vinyl-source-stream';
import nodeSass from 'node-sass';
import del from 'del';
import figlet from 'figlet';
import pkg from './package.json' assert { type: "json" };
import browserSync from 'browser-sync';
import gulpSass from 'gulp-sass';
import {fileURLToPath} from 'node:url';
import dartSass from 'dart-sass';
import { createRequire } from "module";

const pkg = createRequire(import.meta.url)("./package.json");
const __dirname = path.dirname(fileURLToPath(import.meta.url));

// Create browserSync instance
//
const browserSyncInstance = browserSync.create();
const sass = gulpSass(nodeSass);
const sass = gulpSass(dartSass);

/**
* @name default
Expand Down
Loading

0 comments on commit 0016766

Please sign in to comment.