From ba66fe02d7fd836107ac295399fd77e161f9a805 Mon Sep 17 00:00:00 2001 From: Angelina Filippova Date: Fri, 21 Jun 2019 11:24:39 +0000 Subject: [PATCH] Fix display of the icons --- .postcssrc.js | 1 - build/webpack.prod.conf.js | 4 ++-- package.json | 1 - yarn.lock | 21 ++------------------- 4 files changed, 4 insertions(+), 23 deletions(-) diff --git a/.postcssrc.js b/.postcssrc.js index eee3e92d..90cb5bd9 100644 --- a/.postcssrc.js +++ b/.postcssrc.js @@ -2,7 +2,6 @@ module.exports = { "plugins": { - "postcss-import": {}, "postcss-url": {}, // to edit target browsers: use "browserslist" field in package.json "autoprefixer": {} diff --git a/build/webpack.prod.conf.js b/build/webpack.prod.conf.js index 7f2cdda7..018a2f62 100644 --- a/build/webpack.prod.conf.js +++ b/build/webpack.prod.conf.js @@ -44,8 +44,8 @@ const webpackConfig = merge(baseWebpackConfig, { }), // extract css into its own file new MiniCssExtractPlugin({ - filename: utils.assetsPath('css/[name].[contenthash:8].css'), - chunkFilename: utils.assetsPath('css/[name].[contenthash:8].css') + filename: '[name].[contenthash:8].css', + chunkFilename: '[name].[contenthash:8].css' }), // generate dist index.html with correct asset hash for caching. // you can customize output by editing /index.html diff --git a/package.json b/package.json index 2207cbac..60f8edb4 100644 --- a/package.json +++ b/package.json @@ -108,7 +108,6 @@ "ora": "3.0.0", "path-to-regexp": "2.4.0", "portfinder": "1.0.13", - "postcss-import": "11.1.0", "postcss-loader": "2.1.6", "postcss-url": "7.3.2", "rimraf": "2.6.2", diff --git a/yarn.lock b/yarn.lock index 4f4a8dda..fc08d937 100644 --- a/yarn.lock +++ b/yarn.lock @@ -7468,7 +7468,7 @@ performance-now@^2.1.0: resolved "https://registry.yarnpkg.com/performance-now/-/performance-now-2.1.0.tgz#6309f4e0e5fa913ec1c69307ae364b4b377c9e7b" integrity sha1-Ywn04OX6kT7BxpMHrjZLSzd8nns= -pify@^2.0.0, pify@^2.3.0: +pify@^2.0.0: version "2.3.0" resolved "https://registry.yarnpkg.com/pify/-/pify-2.3.0.tgz#ed141a6ac043a849ea588498e7dca8b15330e90c" integrity sha1-7RQaasBDqEnqWISY59yosVMw6Qw= @@ -7623,16 +7623,6 @@ postcss-discard-overridden@^4.0.1: dependencies: postcss "^7.0.0" -postcss-import@11.1.0: - version "11.1.0" - resolved "https://registry.yarnpkg.com/postcss-import/-/postcss-import-11.1.0.tgz#55c9362c9192994ec68865d224419df1db2981f0" - integrity sha512-5l327iI75POonjxkXgdRCUS+AlzAdBx4pOvMEhTKTCjb1p8IEeVR9yx3cPbmN7LIWJLbfnIXxAhoB4jpD0c/Cw== - dependencies: - postcss "^6.0.1" - postcss-value-parser "^3.2.3" - read-cache "^1.0.0" - resolve "^1.1.7" - postcss-load-config@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/postcss-load-config/-/postcss-load-config-2.0.0.tgz#f1312ddbf5912cd747177083c5ef7a19d62ee484" @@ -8217,13 +8207,6 @@ rc@^1.2.7: minimist "^1.2.0" strip-json-comments "~2.0.1" -read-cache@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/read-cache/-/read-cache-1.0.0.tgz#e664ef31161166c9751cdbe8dbcf86b5fb58f774" - integrity sha1-5mTvMRYRZsl1HNvo28+GtftY93Q= - dependencies: - pify "^2.3.0" - read-pkg-up@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/read-pkg-up/-/read-pkg-up-1.0.1.tgz#9d63c13276c065918d57f002a57f40a1b643fb02" @@ -8578,7 +8561,7 @@ resolve@1.1.7: resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.1.7.tgz#203114d82ad2c5ed9e8e0411b3932875e889e97b" integrity sha1-IDEU2CrSxe2ejgQRs5ModeiJ6Xs= -resolve@1.x, resolve@^1.1.6, resolve@^1.1.7, resolve@^1.10.0, resolve@^1.3.2, resolve@^1.8.1: +resolve@1.x, resolve@^1.1.6, resolve@^1.10.0, resolve@^1.3.2, resolve@^1.8.1: version "1.10.0" resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.10.0.tgz#3bdaaeaf45cc07f375656dfd2e54ed0810b101ba" integrity sha512-3sUr9aq5OfSg2S9pNtPA9hL1FVEAjvfOC4leW0SNf/mpnaakz2a9femSd6LqAww2RaFctwyf1lCqnTHuF1rxDg==