From 4309b06e0fb1adbb34f3721c085fcb0e37df7cbf Mon Sep 17 00:00:00 2001 From: Aleksander Nowodzinski Date: Thu, 8 Aug 2019 12:40:22 +0200 Subject: [PATCH] Bumped style-loader to v1.0.0. Aligned the webpack config to the new loader API. --- package.json | 2 +- webpack.config.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 126d12d0df..8613785fb8 100644 --- a/package.json +++ b/package.json @@ -54,7 +54,7 @@ "lint-staged": "^7.0.0", "postcss-loader": "^3.0.0", "raw-loader": "^1.0.0", - "style-loader": "^0.23.0", + "style-loader": "^1.0.0", "uglifyjs-webpack-plugin": "^1.2.7", "webpack": "^4.15.0", "webpack-cli": "^3.0.8" diff --git a/webpack.config.js b/webpack.config.js index 2b15c55566..c9b6b9e450 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -68,7 +68,7 @@ module.exports = { { loader: 'style-loader', options: { - singleton: true + injectType: 'singletonStyleTag' } }, {