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
  • Loading branch information
alan-agius4 committed Nov 2, 2020
1 parent c7e1d14 commit 6717d18
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 @@ -33,7 +33,7 @@ export default async function () {
await silentExec('rm', '-rf', 'node_modules/sass');
await expectToFail(() => ng('build', '--extract-css', '--source-map'));

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

Expand Down

0 comments on commit 6717d18

Please sign in to comment.