Skip to content

Commit

Permalink
migrated from node-sass to dartSass.
Browse files Browse the repository at this point in the history
  • Loading branch information
CommanderStorm committed Jun 16, 2022
1 parent d042234 commit 47aebae
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions webclient/gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import browserify from "browserify";
import del from "delete";
import fs from "fs";
import merge from "merge-stream";
import nodeSass from "node-sass";
import dartSass from "sass";
import path from "path";
import source from "vinyl-source-stream";
import { configRelease, configLocal } from "./config.js"; // eslint-disable-line import/extensions
Expand All @@ -43,7 +43,7 @@ function getFolders(dir) {
// Selected at the bottom of the script
let config;

const sass = _sass(nodeSass); // Select Sass compiler
const sass = _sass(dartSass); // Select Sass compiler

const htmlminOptions = {
caseSensitive: false,
Expand Down
4 changes: 2 additions & 2 deletions webclient/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -110,10 +110,10 @@
"gulp-uglify": "^3.0.2",
"gulp-yaml": "^2.0.4",
"merge-stream": "^2.0.0",
"node-sass": "^7.0.1",
"regenerator": "^0.14.7",
"spectre.css": "^0.5.8",
"vinyl-source-stream": "^2.0.0"
"vinyl-source-stream": "^2.0.0",
"sass": "^1.52.3"
},
"dependencies": {
"regenerator-runtime": "^0.13.9",
Expand Down
2 changes: 1 addition & 1 deletion webclient/src/variables.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@use "sass:color";

@import "node_modules/spectre.css/src/variables.scss";
/* === Shared === */
$success-color: #6cc872;
$warning-color: #f49e2f;
Expand Down

0 comments on commit 47aebae

Please sign in to comment.