Fixed build errors which are occurring after updating sass-resources-loader package.

This commit is contained in:
Aditya Toshniwal 2021-04-15 16:42:25 +05:30 committed by Akshay Joshi
parent b4d44541bb
commit d046a2800d
3 changed files with 5 additions and 6 deletions

View File

@ -56,7 +56,7 @@
"resolve-url-loader": "^3.1.2", "resolve-url-loader": "^3.1.2",
"sass": "^1.24.4", "sass": "^1.24.4",
"sass-loader": "^11.0.0", "sass-loader": "^11.0.0",
"sass-resources-loader": "^2.0.0", "sass-resources-loader": "^2.2.1",
"style-loader": "^2.0.0", "style-loader": "^2.0.0",
"stylis": "^4.0.7", "stylis": "^4.0.7",
"terser-webpack-plugin": "^5.1.1", "terser-webpack-plugin": "^5.1.1",

View File

@ -229,7 +229,6 @@ var themeCssRules = function(theme_name) {
options: { options: {
resources: function(_theme_name){ resources: function(_theme_name){
let ret_res = [ let ret_res = [
'./pgadmin/static/scss/resources/' + _theme_name + '/_theme.variables.scss',
'./pgadmin/static/scss/resources/pgadmin.resources.scss', './pgadmin/static/scss/resources/pgadmin.resources.scss',
]; ];
if(_theme_name!='standard') { if(_theme_name!='standard') {

View File

@ -8004,10 +8004,10 @@ sass-loader@^11.0.0:
klona "^2.0.4" klona "^2.0.4"
neo-async "^2.6.2" neo-async "^2.6.2"
sass-resources-loader@^2.0.0: sass-resources-loader@^2.2.1:
version "2.1.1" version "2.2.1"
resolved "https://registry.yarnpkg.com/sass-resources-loader/-/sass-resources-loader-2.1.1.tgz#a231b7c4e326d9c8d141909c901233bef9453151" resolved "https://registry.yarnpkg.com/sass-resources-loader/-/sass-resources-loader-2.2.1.tgz#d7dbc36ccb25b2d8ffa508b1b8630b987df1e5c3"
integrity sha512-/KrD5mEBTj3ZQ49thKSThhpv1OFhc82JbWA0bmv9yANRuPIlQrydNpZG82jdy4pEWY0QcQTGyd5OmCb3xVeZsw== integrity sha512-WlofxbWOVnxad874IHZdWbP9eW1pbyqsTJKBsMbeB+YELvLSrZQNDTpH70s6F19BwtanR3NEFnyGwJ9WyotJTQ==
dependencies: dependencies:
async "^3.2.0" async "^3.2.0"
chalk "^4.1.0" chalk "^4.1.0"