From 97ade0659cdcad78514c5dc42deacb11170ba3ca Mon Sep 17 00:00:00 2001 From: RMidhunSuresh Date: Fri, 25 Mar 2022 11:40:21 +0530 Subject: [PATCH] Add explaining comment --- scripts/postcss/css-url-to-variables.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/postcss/css-url-to-variables.js b/scripts/postcss/css-url-to-variables.js index a1a47971..07d524c9 100644 --- a/scripts/postcss/css-url-to-variables.js +++ b/scripts/postcss/css-url-to-variables.js @@ -15,6 +15,10 @@ limitations under the License. */ const valueParser = require("postcss-value-parser"); +/** + * This plugin extracts content inside url() into css variables. + * The extracted css variables are added to the :root section. + */ let counter; const urlVariables = new Map(); const idToPrepend = "icon-url";