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

[FIX] Bundler: Ensure reproducibility for bundles with multiple parts #689

Merged
merged 3 commits into from
Jan 25, 2022

Commits on Jan 21, 2022

  1. [FIX] Bundler: Ensure reproducibility for bundles with multiple parts

    Sort modules in preload sections alphabetically.
    This caused different bundle contents based on the order of modules that
    the resolver provides, which is not deterministic.
    
    Remove terser from size estimation as modules are now already optimized
    if the 'optimize' bundle option is enabled.
    This caused incorrect estimations about the bundle size which resulted
    into size differences of the individual parts.
    matz3 committed Jan 21, 2022
    Configuration menu
    Copy the full SHA
    ec73582 View commit details
    Browse the repository at this point in the history
  2. Fix existing tests

    matz3 committed Jan 21, 2022
    Configuration menu
    Copy the full SHA
    10e6ce6 View commit details
    Browse the repository at this point in the history
  3. Enhance integration test

    matz3 committed Jan 21, 2022
    Configuration menu
    Copy the full SHA
    dea9db6 View commit details
    Browse the repository at this point in the history