Skip to content

Comments

Split off sourcemaps from the minified JS#764

Merged
tadast merged 3 commits intomasterfrom
tt/js
Jul 8, 2024
Merged

Split off sourcemaps from the minified JS#764
tadast merged 3 commits intomasterfrom
tt/js

Conversation

@tadast
Copy link
Collaborator

@tadast tadast commented Jul 8, 2024

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

tadast added 3 commits July 8, 2024 14:05
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
@tadast tadast merged commit 61cb8d4 into master Jul 8, 2024
@tadast tadast deleted the tt/js branch July 8, 2024 14:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant