408 commandes partagées

Ta mémoire technique
collaborative

Ne perds plus jamais une commande. Recherche, copie et partage tes solutions techniques en quelques secondes.

CodeBox
408 Commandes
13 Développeurs
99 Technologies

2 résultat(s) pour "bundle"

Build et génère un fichier stats.json pour analyser le bundle.

bash
ng build --stats-json

Analyse la taille du bundle avec webpack-bundle-analyzer.

bash
npm install -g webpack-bundle-analyzer && ng build --stats-json && npx webpack-bundle-analyzer dist/nom-projet/stats.json