chore: replace optimize-css-assets-webpack-plugin with css-minimizer-webpack-plugin (#2525)

* Replace optimize-css-assets-webpack-plugin with css-minimizer-webpack-plugin

* Fix lint issues in JS

* remove favicons

* update snapshots

* update annotations snapshots

Co-authored-by: Trent Smith <1429913+Bento007@users.noreply.github.com>
Co-authored-by: Seve Badajoz <sbadajoz@chanzuckerberg.com>
This commit is contained in:
Rohan Agarwal
2022-06-07 13:13:17 -07:00
committed by GitHub
co-authored by Trent Smith Seve Badajoz
parent f2bd6ebce1
commit 8b4c1e418e
9 changed files with 9150 additions and 20920 deletions
+4 -3
View File
@@ -58,10 +58,11 @@ function _maskToList(mask) {
if (!mask) {
return null;
}
const list = new Int32Array(mask.length);
const [...m] = mask;
const list = new Int32Array(m.length);
let elems = 0;
for (let i = 0, l = mask.length; i < l; i += 1) {
if (mask[i]) {
for (let i = 0, l = m.length; i < l; i += 1) {
if (m[i]) {
list[elems] = i;
elems += 1;
}