Skip to content

Commit

Permalink
test(@angular-devkit/build-angular): pin node-sass to version 4
Browse files Browse the repository at this point in the history
The curent version of sass-loader doesn't support node-sass version 5.

webpack-contrib/sass-loader#898
(cherry picked from commit 6717d18)
  • Loading branch information
alan-agius4 committed Nov 2, 2020
1 parent 553be40 commit c4e8c71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/legacy-cli/e2e/tests/build/styles/node-sass.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export default async function () {
await silentExec('rm', '-rf', 'node_modules/sass');
await expectToFail(() => ng('build', '--extract-css', '--source-map'));

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

Expand Down

0 comments on commit c4e8c71

Please sign in to comment.