Skip to content

Commit 43abd0a

Browse files
alan-agius4filipesilva
authored andcommitted
test(@angular-devkit/build-angular): pin node-sass to version 4
The curent version of sass-loader doesn't support node-sass version 5. webpack-contrib/sass-loader#898 (cherry picked from commit 6717d18) (cherry picked from commit c4e8c71)
1 parent 90bac99 commit 43abd0a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/legacy-cli/e2e/tests/build/styles/node-sass.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export default async function () {
3232
await silentExec('rm', '-rf', 'node_modules/sass');
3333
await expectToFail(() => ng('build', '--extract-css', '--source-map'));
3434

35-
await silentNpm('install', 'node-sass');
35+
await silentNpm('install', 'node-sass@4');
3636
await silentExec('rm', '-rf', 'node_modules/sass');
3737
await ng('build', '--extract-css', '--source-map');
3838

0 commit comments

Comments
 (0)