Skip to content

Commit 4e2569d

Browse files
fix: compatibility with node-sass@9 (#1176)
1 parent 572cb62 commit 4e2569d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/utils.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,12 +80,12 @@ function getSassImplementation(loaderContext, implementation) {
8080
if (
8181
!semver.satisfies(
8282
version,
83-
"^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0"
83+
"^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0 || ^9.0.0"
8484
)
8585
) {
8686
loaderContext.emitError(
8787
new Error(
88-
`Node Sass version ${version} is incompatible with ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0.`
88+
`Node Sass version ${version} is incompatible with ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0 || ^9.0.0.`
8989
)
9090
);
9191
}

0 commit comments

Comments
 (0)