fix(frontend): correct CSS-resolving:: reverse url indexes order

This commit is contained in:
Alex Kaminskii 2022-08-23 15:00:31 +02:00
parent 3298ad39b6
commit 798289a505

View file

@ -26,7 +26,7 @@ function cssUrlsIndex(css: string): Array<[number, number]> {
const e = s + m[1].length;
idxs.push([s, e])
}
return idxs;
return idxs.reverse();
}
function unquote(str: string): [string, string] {
str = str.trim();