From 35906adf44d25c800e8b0827449d008fe300ca88 Mon Sep 17 00:00:00 2001 From: Aman Soni <48171775+AmanSonii@users.noreply.github.com> Date: Thu, 27 Feb 2025 19:38:36 +0530 Subject: [PATCH] Update package.json for sass version Replace node-sass with sass for Node.js 18+ compatibility - node-sass has been deprecated and is no longer supported in Node.js versions 18 and above. - Replaced node-sass with sass to ensure compatibility with Node.js 18+. - This update aligns with the latest release (v9.52) which only supports Node.js 18+. Fixes build issues with newer Node.js versions. --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 66b2353..febe9ab 100644 --- a/package.json +++ b/package.json @@ -69,9 +69,9 @@ "terser": "5.5.0", "terser-webpack-plugin": "5.1.1", "process": "0.11.10", + "sass": "^1.85.0", "sass-loader": "^10.2.0", - "css-loader": "^2.1.1", - "node-sass": "^6.0.1", + "css-loader": "^2.1.1", "mini-css-extract-plugin": "^0.5.0", "css-minimizer-webpack-plugin": "3.1.3", "ignore-emit-webpack-plugin": "2.0.6"