Skip to content

Commit e7e8024

Browse files
chore: remove node-sass use sass instead
1 parent 707b57d commit e7e8024

File tree

3 files changed

+323
-170
lines changed

3 files changed

+323
-170
lines changed

Diff for: ember-cli-build.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
const EmberApp = require('ember-cli/lib/broccoli/ember-app');
44
const envIsProduction = process.env.EMBER_ENV === 'production';
55
const premberUrls = require('./prember-urls');
6-
const nodeSass = require('node-sass');
6+
const sass = require('sass');
77

88
module.exports = function (defaults) {
99
let app = new EmberApp(defaults, {
@@ -24,7 +24,7 @@ module.exports = function (defaults) {
2424
generateAssetMap: true,
2525
},
2626
sassOptions: {
27-
implementation: nodeSass,
27+
implementation: sass,
2828
sourceMapEmbed: !envIsProduction,
2929
includePaths: [
3030
'app/styles',

Diff for: package.json

+9-5
Original file line numberDiff line numberDiff line change
@@ -130,14 +130,14 @@
130130
"lodash.uniq": "^4.5.0",
131131
"lodash.values": "^4.3.0",
132132
"minimist": "^1.2.6",
133-
"node-sass": "^9.0.0",
134133
"normalize.css": "^8.0.1",
135134
"npm-run-all": "^4.1.5",
136135
"prember": "^2.1.0",
137136
"prettier": "^2.5.1",
138137
"qunit": "^2.17.2",
139138
"qunit-dom": "^1.6.0",
140139
"sanitize-html": "^2.3.2",
140+
"sass": "^1.86.0",
141141
"semver": "^7.5.4",
142142
"semver-compare": "^1.0.0",
143143
"spawndamnit": "2.0.0",
@@ -146,8 +146,8 @@
146146
"webpack": "^5.90.0"
147147
},
148148
"engines": {
149-
"node": "16.* || 18.* || 20.*",
150-
"npm": "7 || 8 || >= 9"
149+
"node": "16.* || 18.* || 20.* || >= 22",
150+
"npm": "7 || 8 || 9 || >= 10"
151151
},
152152
"cacheDirectories": [
153153
"node_modules"
@@ -172,5 +172,9 @@
172172
"ember-truth-helpers": "^4.0.0"
173173
}
174174
},
175-
"packageManager": "[email protected]"
176-
}
175+
"packageManager": "[email protected]",
176+
"volta": {
177+
"node": "23.10.0",
178+
"pnpm": "10.6.5"
179+
}
180+
}

0 commit comments

Comments
 (0)