centreon / centreon-archived

Centreon is a network, system and application monitoring tool. Centreon is the only AIOps Platform Providing Holistic Visibility to Complex IT Workflows from Cloud to Edge.
https://www.centreon.com
GNU General Public License v2.0
574 stars 240 forks source link

change module type to module instead of umd in webpack configuration #12056

Closed Med1233 closed 1 year ago

Med1233 commented 2 years ago

Description

Change the webpack configuration libraryTarget from umd to module with the aim to reduce the bundle size

Type of change

Target serie

How this pull request can be tested ?

Validate that user can access to pages (should be validated by cypress and ligthouse) Execute minimal TNR on legacy / reactJS pages

Community contributors & Centreon team

Thebarda commented 2 years ago

Is it possible to provide a bunch of before/after about bundle size and lighthouse performance report?

sonarqube-decoration[bot] commented 2 years ago

SonarQube Quality Gate

Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

kduret commented 2 years ago

migrated to https://github.com/centreon/centreon-gha/pull/122