Skip to content

Commit 9d2f79f

Browse files
chore: remove node-sass use sass instead
1 parent f50f4fe commit 9d2f79f

File tree

3 files changed

+322
-169
lines changed

3 files changed

+322
-169
lines changed

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',

package.json

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

0 commit comments

Comments
 (0)