From fead1b50b2991eef1da5379aec4b940b45b1f688 Mon Sep 17 00:00:00 2001 From: ErickSkrauch Date: Thu, 16 Jul 2020 15:48:08 +0300 Subject: [PATCH] Resolves #1. Add styles for images alt texts --- webpack-utils/extended-translations-loader/index.js | 2 +- yarn.lock | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/webpack-utils/extended-translations-loader/index.js b/webpack-utils/extended-translations-loader/index.js index 3c5882d..a25096e 100644 --- a/webpack-utils/extended-translations-loader/index.js +++ b/webpack-utils/extended-translations-loader/index.js @@ -46,7 +46,7 @@ module.exports = async function(content) { const targetWidth = Math.ceil(width / scale); const targetHeight = Math.ceil(height / scale); - resolve(`${text}`); + resolve(`${text}`); }); }); diff --git a/yarn.lock b/yarn.lock index a15e974..e946260 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2746,11 +2746,11 @@ extend@~3.0.2: "extended-translations-loader@file:webpack-utils/extended-translations-loader": version "1.0.0" dependencies: - "@lesechos/image-size-loader" "file:../../Library/Caches/Yarn/v6/npm-extended-translations-loader-1.0.0-2a404bf5-e6c1-4416-ac35-d35a69d061a8-1594902075342/node_modules/image-size-loader" + "@lesechos/image-size-loader" "file:../../Library/Caches/Yarn/v6/npm-extended-translations-loader-1.0.0-933f9d99-bd59-4d39-b59d-8350c97ab0e9-1594903645361/node_modules/image-size-loader" glob "^7.1.4" loader-utils "^1.2.3" qs "^6.0.0" - text2png-loader "file:../../Library/Caches/Yarn/v6/npm-extended-translations-loader-1.0.0-2a404bf5-e6c1-4416-ac35-d35a69d061a8-1594902075342/node_modules/text2png-loader" + text2png-loader "file:../../Library/Caches/Yarn/v6/npm-extended-translations-loader-1.0.0-933f9d99-bd59-4d39-b59d-8350c97ab0e9-1594903645361/node_modules/text2png-loader" tmp "^0.0.33" external-editor@^3.0.3: