From 63cb001c1d4069f6dd20157364c650464a4269f7 Mon Sep 17 00:00:00 2001 From: Robin Date: Tue, 3 Jan 2023 21:14:50 -0500 Subject: [PATCH] Downgrade to style-loader 2 to regain Webpack 4 compatibility (#24150) --- package.json | 2 +- yarn.lock | 11 +++++++---- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 6fd294a329..07ec89ae85 100644 --- a/package.json +++ b/package.json @@ -155,7 +155,7 @@ "semver": "^7.3.7", "simple-proxy-agent": "^1.1.0", "string-replace-loader": "3", - "style-loader": "3", + "style-loader": "2", "stylelint": "^14.9.1", "stylelint-config-prettier": "^9.0.4", "stylelint-config-standard": "^29.0.0", diff --git a/yarn.lock b/yarn.lock index ec01885203..5cd6cbe555 100644 --- a/yarn.lock +++ b/yarn.lock @@ -11498,10 +11498,13 @@ strip-json-comments@^3.1.0, strip-json-comments@^3.1.1: resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-3.1.1.tgz#31f1281b3832630434831c310c01cccda8cbe006" integrity sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig== -style-loader@3: - version "3.3.1" - resolved "https://registry.yarnpkg.com/style-loader/-/style-loader-3.3.1.tgz#057dfa6b3d4d7c7064462830f9113ed417d38575" - integrity sha512-GPcQ+LDJbrcxHORTRes6Jy2sfvK2kS6hpSfI/fXhPt+spVzxF6LJ1dHLN9zIGmVaaP044YKaIatFaufENRiDoQ== +style-loader@2: + version "2.0.0" + resolved "https://registry.yarnpkg.com/style-loader/-/style-loader-2.0.0.tgz#9669602fd4690740eaaec137799a03addbbc393c" + integrity sha512-Z0gYUJmzZ6ZdRUqpg1r8GsaFKypE+3xAzuFeMuoHgjc9KZv3wMyCRjQIWEbhoFSq7+7yoHXySDJyyWQaPajeiQ== + dependencies: + loader-utils "^2.0.0" + schema-utils "^3.0.0" style-search@^0.1.0: version "0.1.0"