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 = {
|
||||
includePaths: [node_modules_path, ...app_paths],
|
||||
quietDeps: true,
|
||||
importer: function(url) {
|
||||
if (url.startsWith("~")) {
|
||||
// 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 sass_options = require('./esbuild/sass_options');
|
||||
let output_path = process.argv[2];
|
||||
|
|
|
|||
|
|
@ -46,7 +46,6 @@
|
|||
"localforage": "^1.9.0",
|
||||
"moment": "^2.29.2",
|
||||
"moment-timezone": "^0.5.28",
|
||||
"node-sass": "^7.0.0",
|
||||
"plyr": "^3.7.2",
|
||||
"popper.js": "^1.16.0",
|
||||
"quill": "2.0.0-dev.4",
|
||||
|
|
@ -54,6 +53,7 @@
|
|||
"quill-magic-url": "^3.0.0",
|
||||
"qz-tray": "^2.0.8",
|
||||
"redis": "^3.1.1",
|
||||
"sass": "^1.53.0",
|
||||
"showdown": "^1.9.1",
|
||||
"snyk": "^1.685.0",
|
||||
"socket.io": "^2.4.0",
|
||||
|
|
@ -74,7 +74,6 @@
|
|||
"md5": "^2.3.0",
|
||||
"postcss": "8",
|
||||
"rtlcss": "^3.2.1",
|
||||
"sass": "^1.49.9",
|
||||
"yargs": "^16.2.0"
|
||||
},
|
||||
"snyk": true,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue