Yon can use google lighthouse in local state.
you will be able to minify all files as same file names which is js or css
electron-progressbar extends