diff --git a/config/webpack/loaders.js b/config/webpack/loaders.js index 448b2fa431b..4ba7c9cea3c 100644 --- a/config/webpack/loaders.js +++ b/config/webpack/loaders.js @@ -51,6 +51,7 @@ module.exports = [ loader: 'sass-loader', options: { sourceMap: true, + implementation: require('sass').default, }, }, ], diff --git a/package.json b/package.json index dae1b0abaf8..514de42ddfe 100644 --- a/package.json +++ b/package.json @@ -137,7 +137,6 @@ "jest-cli": "~24.9.0", "js-yaml": "~3.13.1", "ng-annotate-loader": "~0.6.1", - "node-sass": "~4.12.0", "path-complete-extname": "~0.1.0", "postcss-loader": "~3.0.0", "postcss-smart-import": "~0.6.11", @@ -145,6 +144,7 @@ "react-test-renderer": "~16.8.0", "regenerator-runtime": "~0.13.5", "resolve-url-loader": "~3.1.1", + "sass": "~1.26.5", "sass-loader": "~8.0.2", "style-loader": "~1.1.3", "stylelint": "^8.2.0",