Page MenuHomeSoftware Heritage

settings/production: Use webpack loader cache when not in debug mode
ClosedPublic

Authored by anlambert on Apr 5 2022, 3:02 PM.

Details

Summary

It prevents infinite reload of web application in browser when overriding
swh-web sources in docker-compose environment and modifying js sources.

Diff Detail

Repository
rDWAPPS Web applications
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

Build is green

Patch application report for D7505 (id=27225)

Rebasing onto c0509f8235...

Current branch diff-target is up to date.
Changes applied before test
commit ac98905c7be7fbe00ebf099c27120ad698d17a67
Author: Antoine Lambert <anlambert@softwareheritage.org>
Date:   Tue Apr 5 14:50:55 2022 +0200

    settings/production: Use webpack loader cache when not in debug mode
    
    It prevents infinite reload of web application in browser when overriding
    swh-web sources in docker-compose environment and modifying js sources.

See https://jenkins.softwareheritage.org/job/DWAPPS/job/tests-on-diff/1679/ for more details.

This revision is now accepted and ready to land.Apr 5 2022, 3:48 PM

Build is green

Patch application report for D7505 (id=27233)

Rebasing onto 10f8ba1467...

Current branch diff-target is up to date.
Changes applied before test
commit 6a049244633a99bc945eb47c3bd7a519f2cee882
Author: Antoine Lambert <anlambert@softwareheritage.org>
Date:   Tue Apr 5 14:50:55 2022 +0200

    settings/production: Use webpack loader cache when not in debug mode
    
    It prevents infinite reload of web application in browser when overriding
    swh-web sources in docker-compose environment and modifying js sources.

See https://jenkins.softwareheritage.org/job/DWAPPS/job/tests-on-diff/1683/ for more details.