Skip to content

Commit

Permalink
fix: compatibility with node-sass@9 (#1176)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-akait committed Jan 4, 2024
1 parent 572cb62 commit 4e2569d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,12 +80,12 @@ function getSassImplementation(loaderContext, implementation) {
if (
!semver.satisfies(
version,
"^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0"
"^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0 || ^9.0.0"
)
) {
loaderContext.emitError(
new Error(
`Node Sass version ${version} is incompatible with ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0.`
`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.`
)
);
}
Expand Down

0 comments on commit 4e2569d

Please sign in to comment.