From a3391a9497bcf547f65eb596e2d46fadd016dc1f Mon Sep 17 00:00:00 2001 From: Sumedha Pramod Date: Mon, 9 Jul 2018 14:26:40 -0700 Subject: [PATCH] Fix: Downgrade optimize-css-assets-webpack-plugin package (#819) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit NOTE: ⚠️ For webpack v3 or below please use optimize-css-assets-webpack-plugin@3.2.0. The optimize-css-assets-webpack-plugin@4.0.0 version and above supports webpack v4. --- package.json | 2 +- yarn.lock | 24 ++++++++++++------------ 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/package.json b/package.json index 3b83027ed..ba0cf1a77 100644 --- a/package.json +++ b/package.json @@ -73,7 +73,7 @@ "node-noop": "^1.0.0", "node-sass": "^4.7.2", "nsp": "^3.2.1", - "optimize-css-assets-webpack-plugin": "^4.0.2", + "optimize-css-assets-webpack-plugin": "^3.2.0", "phantomjs-prebuilt": "^2.1.16", "postcss-loader": "^2.0.9", "postcss-sass": "^0.3.0", diff --git a/yarn.lock b/yarn.lock index 0464f2f05..85fc0902d 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2494,7 +2494,7 @@ cssnano-cli@^1.0.5: read-file-stdin "^0.2.0" write-file-stdout "0.0.2" -cssnano@^3.0.0, cssnano@^3.10.0: +cssnano@^3.0.0, cssnano@^3.10.0, cssnano@^3.4.0: version "3.10.0" resolved "https://registry.yarnpkg.com/cssnano/-/cssnano-3.10.0.tgz#4f38f6cea2b9b17fa01490f23f1dc68ea65c1c38" dependencies: @@ -5356,12 +5356,12 @@ known-css-properties@^0.6.0: version "0.6.1" resolved "https://registry.yarnpkg.com/known-css-properties/-/known-css-properties-0.6.1.tgz#31b5123ad03d8d1a3f36bd4155459c981173478b" -last-call-webpack-plugin@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/last-call-webpack-plugin/-/last-call-webpack-plugin-3.0.0.tgz#9742df0e10e3cf46e5c0381c2de90d3a7a2d7555" +last-call-webpack-plugin@^2.1.2: + version "2.1.2" + resolved "https://registry.yarnpkg.com/last-call-webpack-plugin/-/last-call-webpack-plugin-2.1.2.tgz#ad80c6e310998294d2ed2180a68e9589e4768c44" dependencies: - lodash "^4.17.5" - webpack-sources "^1.1.0" + lodash "^4.17.4" + webpack-sources "^1.0.1" lazy-cache@^1.0.3: version "1.0.4" @@ -6571,12 +6571,12 @@ optimist@^0.6.1, optimist@~0.6.1: minimist "~0.0.1" wordwrap "~0.0.2" -optimize-css-assets-webpack-plugin@^4.0.2: - version "4.0.2" - resolved "https://registry.yarnpkg.com/optimize-css-assets-webpack-plugin/-/optimize-css-assets-webpack-plugin-4.0.2.tgz#813d511d20fe5d9a605458441ed97074d79c1122" +optimize-css-assets-webpack-plugin@^3.2.0: + version "3.2.0" + resolved "https://registry.yarnpkg.com/optimize-css-assets-webpack-plugin/-/optimize-css-assets-webpack-plugin-3.2.0.tgz#09a40c4cefde1dd0142444a873c56aa29eb18e6f" dependencies: - cssnano "^3.10.0" - last-call-webpack-plugin "^3.0.0" + cssnano "^3.4.0" + last-call-webpack-plugin "^2.1.2" optionator@^0.8.1, optionator@^0.8.2: version "0.8.2" @@ -9562,7 +9562,7 @@ webpack-log@^1.0.1: loglevelnext "^1.0.1" uuid "^3.1.0" -webpack-sources@^1.0.1, webpack-sources@^1.1.0: +webpack-sources@^1.0.1: version "1.1.0" resolved "https://registry.yarnpkg.com/webpack-sources/-/webpack-sources-1.1.0.tgz#a101ebae59d6507354d71d8013950a3a8b7a5a54" dependencies: