How to configure Bundle Analyzer in Angular?

แชร์
ฝัง
  • เผยแพร่เมื่อ 6 ธ.ค. 2024
  • #angular #webpack #performance
    This video explains the need to configure a must-have bundle analyzer in Angular and also teaches how to do it step by step.
    Related videos and NPM packages
    Video on adding custom webpack configuration in Angular
    • Have you thought about...
    -Video on tips to reduce the Angular bundle size
    • 4 Easy tips to reduce ...
    Install webpack-bundle-analyzer (www.npmjs.com/...)
    npm i -D webpack-bundle-analyzer
    Install moment-locales-webpack-plugin to remove the desired locales from the bundle
    (www.npmjs.com/...)
    npm i -D moment-locales-webpack-plugin
    Install moment-timezone-data-webpack-plugin to remove the desired timezones from the bundle
    (www.npmjs.com/...)
    npm i -D moment-timezone-data-webpack-plugin

ความคิดเห็น • 5