wurmlab / sequenceserver

Intuitive graphical web interface for running BLAST bioinformatics tool (i.e. have your own custom NCBI BLAST site!)
https://sequenceserver.com
GNU Affero General Public License v3.0
268 stars 111 forks source link

Split off sourcemaps from the minified JS #764

Closed tadast closed 2 months ago

tadast commented 2 months ago

Configure webpack to compile a separate sourcemaps file instead of using the default eval inline source maps.

This removes a combined ~3MB from the two JS bundles (the separate source map files are not loaded by default onto the user's browsers).

Not using eval mode source maps is a bit slower, but also makes it easier to configure CSP (for the cloud version) with strong defaults