forked from mystiq/hydrogen-web
Add explaining comment
This commit is contained in:
parent
b59d6970fc
commit
97ade0659c
1 changed files with 4 additions and 0 deletions
|
@ -15,6 +15,10 @@ limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
const valueParser = require("postcss-value-parser");
|
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;
|
let counter;
|
||||||
const urlVariables = new Map();
|
const urlVariables = new Map();
|
||||||
const idToPrepend = "icon-url";
|
const idToPrepend = "icon-url";
|
||||||
|
|
Loading…
Reference in a new issue