View Issue Details

IDProjectCategoryView StatusLast Update
0007328Talerwallet (WebExtension)public2022-11-04 20:52
ReporterFlorian Dold Assigned Tosebasjm  
Status closedResolutionfixed 
Target Version0.9Fixed in Version0.9 
Summary0007328: webextension ships with huge, unnecessary sources and sourcemaps
DescriptionThe "dist" folder of the web extension is currently 55MB (!!!) big.

It AFAICT contains source files that are completely unnecessary for the webextension.

E.g. there is one separate source file for each CTA, when there probably should just be one bundle.
TagsNo tags attached.



2022-09-07 13:51

developer   ~0019099

09b085d24b2a8d4e7723afe82dfd46dd9d36a71a remove every file from dist folder that does not belong to the webextension (test and stories)

./ prod (called from the makefile) create a distribution zip without .map
./ dev keeps the .map files for development

90% of the js is shared between all js in the dist folder, it can be improve event further. I'm keeping this open but with less priority.

Florian Dold

2022-09-07 15:42

manager   ~0019100

The WebExtension is now back to 1.2MB zipped, without sourcemaps. I think this is good enough!

Issue History

Date Modified Username Field Change
2022-09-06 23:33 Florian Dold New Issue
2022-09-06 23:33 Florian Dold Status new => assigned
2022-09-06 23:33 Florian Dold Assigned To => sebasjm
2022-09-07 13:51 sebasjm Note Added: 0019099
2022-09-07 13:52 sebasjm Priority urgent => low
2022-09-07 13:52 sebasjm Severity major => minor
2022-09-07 13:52 sebasjm Reproducibility have not tried => always
2022-09-07 15:42 Florian Dold Note Added: 0019100
2022-09-07 15:42 Florian Dold Status assigned => resolved
2022-09-07 15:42 Florian Dold Resolution open => fixed
2022-10-20 10:47 Christian Grothoff Fixed in Version => 0.9
2022-10-20 10:48 Christian Grothoff Target Version => 0.9
2022-11-04 20:52 Christian Grothoff Status resolved => closed
2023-04-13 20:37 Florian Dold Category wallet (WebExtensions) => wallet (WebExtension)