Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update webpack chunk-hash-generation settings #1263

Merged
merged 1 commit into from
Jan 13, 2021
Merged

Commits on Jan 13, 2021

  1. Update webpack chunk-hash-generation settings

    This removes `HashedModuleIdsPlugin` from the build pipeline as
    we use `WebpackChunkHash` to generate contenthash for each chunk.
    
    This caused hard-to-debug bugs in auspice (and nextstrain.org)
    where a hash was being generated from the pre-minified (etc)
    bundle contents, but different minification resulted in different
    bundle contents. As the bundle name was the same, clients could
    use their (out-of-date) cached version, which would result in
    a variety of errors in auspice.
    jameshadfield committed Jan 13, 2021
    Configuration menu
    Copy the full SHA
    32523b5 View commit details
    Browse the repository at this point in the history