From 834dcb8ee4adcf1b6df45d8ad64350a94ae3ec88 Mon Sep 17 00:00:00 2001 From: Damien Erambert Date: Wed, 10 Jan 2018 06:46:10 -0800 Subject: [PATCH] Upgrade style-loader to fix CSS modules issue (#3283) * Upgrade style-loader to 0.19.0 to fix https://github.com/webpack-contrib/style-loader/issues/182 * Update to last version --- packages/gatsby/package.json | 2 +- yarn.lock | 13 ++++++++++--- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/packages/gatsby/package.json b/packages/gatsby/package.json index b4373b4d91ad9..9b6c16cdc7fcc 100644 --- a/packages/gatsby/package.json +++ b/packages/gatsby/package.json @@ -102,7 +102,7 @@ "socket.io": "^2.0.3", "static-site-generator-webpack-plugin": "^3.4.1", "string-similarity": "^1.2.0", - "style-loader": "^0.13.0", + "style-loader": "^0.19.1", "type-of": "^2.0.1", "url-loader": "^0.5.7", "v8-compile-cache": "^1.1.0", diff --git a/yarn.lock b/yarn.lock index 8a1539c9c65eb..37997aaf89061 100644 --- a/yarn.lock +++ b/yarn.lock @@ -11080,6 +11080,12 @@ sc-simple-broker@~2.1.0: dependencies: sc-channel "~1.1.0" +schema-utils@^0.3.0: + version "0.3.0" + resolved "https://registry.yarnpkg.com/schema-utils/-/schema-utils-0.3.0.tgz#f5877222ce3e931edae039f17eb3716e7137f8cf" + dependencies: + ajv "^5.0.0" + scroll-behavior@^0.9.1: version "0.9.4" resolved "https://registry.yarnpkg.com/scroll-behavior/-/scroll-behavior-0.9.4.tgz#73b4a0eae3e59c0b8f3b6fc1ff78f054a513e79c" @@ -11953,11 +11959,12 @@ strong-log-transformer@^1.0.6: moment "^2.6.0" through "^2.3.4" -style-loader@^0.13.0: - version "0.13.2" - resolved "https://registry.yarnpkg.com/style-loader/-/style-loader-0.13.2.tgz#74533384cf698c7104c7951150b49717adc2f3bb" +style-loader@^0.19.1: + version "0.19.1" + resolved "https://registry.yarnpkg.com/style-loader/-/style-loader-0.19.1.tgz#591ffc80bcefe268b77c5d9ebc0505d772619f85" dependencies: loader-utils "^1.0.2" + schema-utils "^0.3.0" styled-jsx@^1.0.10: version "1.0.11"