fix: Replace node-sass with dart-sass
This commit is contained in:
parent
8f9a4295b6
commit
eeeef86ae3
4 changed files with 28 additions and 1011 deletions
|
|
@ -12,6 +12,7 @@ let app_paths = app_list
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
includePaths: [node_modules_path, ...app_paths],
|
includePaths: [node_modules_path, ...app_paths],
|
||||||
|
quietDeps: true,
|
||||||
importer: function(url) {
|
importer: function(url) {
|
||||||
if (url.startsWith("~")) {
|
if (url.startsWith("~")) {
|
||||||
// strip ~ so that it can resolve from node_modules
|
// strip ~ so that it can resolve from node_modules
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
const sass = require('node-sass');
|
const sass = require('sass');
|
||||||
const fs = require('fs');
|
const fs = require('fs');
|
||||||
const sass_options = require('./esbuild/sass_options');
|
const sass_options = require('./esbuild/sass_options');
|
||||||
let output_path = process.argv[2];
|
let output_path = process.argv[2];
|
||||||
|
|
|
||||||
|
|
@ -46,7 +46,6 @@
|
||||||
"localforage": "^1.9.0",
|
"localforage": "^1.9.0",
|
||||||
"moment": "^2.29.2",
|
"moment": "^2.29.2",
|
||||||
"moment-timezone": "^0.5.28",
|
"moment-timezone": "^0.5.28",
|
||||||
"node-sass": "^7.0.0",
|
|
||||||
"plyr": "^3.7.2",
|
"plyr": "^3.7.2",
|
||||||
"popper.js": "^1.16.0",
|
"popper.js": "^1.16.0",
|
||||||
"quill": "2.0.0-dev.4",
|
"quill": "2.0.0-dev.4",
|
||||||
|
|
@ -54,6 +53,7 @@
|
||||||
"quill-magic-url": "^3.0.0",
|
"quill-magic-url": "^3.0.0",
|
||||||
"qz-tray": "^2.0.8",
|
"qz-tray": "^2.0.8",
|
||||||
"redis": "^3.1.1",
|
"redis": "^3.1.1",
|
||||||
|
"sass": "^1.53.0",
|
||||||
"showdown": "^1.9.1",
|
"showdown": "^1.9.1",
|
||||||
"snyk": "^1.685.0",
|
"snyk": "^1.685.0",
|
||||||
"socket.io": "^2.4.0",
|
"socket.io": "^2.4.0",
|
||||||
|
|
@ -74,7 +74,6 @@
|
||||||
"md5": "^2.3.0",
|
"md5": "^2.3.0",
|
||||||
"postcss": "8",
|
"postcss": "8",
|
||||||
"rtlcss": "^3.2.1",
|
"rtlcss": "^3.2.1",
|
||||||
"sass": "^1.49.9",
|
|
||||||
"yargs": "^16.2.0"
|
"yargs": "^16.2.0"
|
||||||
},
|
},
|
||||||
"snyk": true,
|
"snyk": true,
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue