webpack-bundle-analyzer
compodoc
webpack-bundle-analyzer | compodoc | |
---|---|---|
20 | 20 | |
12,501 | 3,954 | |
0.1% | 0.3% | |
6.2 | 8.5 | |
25 days ago | 6 days ago | |
JavaScript | TypeScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
webpack-bundle-analyzer
-
Bundle size analyzer when using esbuild?
I used to use webpack-bundle-analyzer but we have switched the builder to browser-esbuild now.
-
How to handle multiple webpacks in the same app, that both include React?
First start by running a webpack bundle analysis to see what exactly is bundled. You might be surprised about things being included that you didn't expect which can help with where to look.
-
Building a PNPM monorepo with Webpack - large builds?
Firstly I recommend taking a look at the structure of the webpack output with something like webpack-bundle-analyzer for any obvious over bundling issues.
-
First time i encounter this any idea how to exploit it ? or its already an info disclosure and i should report within bug bounty program ?
See: https://github.com/webpack-contrib/webpack-bundle-analyzer
-
Web Performance Resources for Front End Developers
Webpack Bundle Analyzer
- Beautiful Visualizations For Your App's Dependencies
-
π Angular 14 + ESLint, Material + Transloco + Jest, TestCafe + Docker + Prettier π
npm run analyse - analyse bundle with webpack-bundle-analyzer
-
I shaved 80 MB from my TypeScript build by removing googleapis
This was my question as well. The article does answer the question, but off the bat I'd assumed the author was talking about output/dist. The web treemap cli is a great tip. If you are using webpack, webpack-bundle-analyzer is a helpful tool for quickly finding bloated packages. It's definitely helped me cut down my build times: https://github.com/webpack-contrib/webpack-bundle-analyzer
-
Zero experience with Angular. I'm in charge of our CI and we're getting extremely slow prod build times (~1 hour 34 mins). Where should I start researching solutions for this?
Here are a few tipps where you could save some time: 1)check angular.json (configurations -> "your ci config") - look for buildOptimizer / optimization 2)If you run npm ci during your pipeline it might make sense to create the node modules folder beforehand, it seems to save time (https://github.com/npm/cli/issues/2011) 3)Use ng build --stats-json to analyze your build 4)Use https://github.com/webpack-contrib/webpack-bundle-analyzer (also works together with 3. ) 5)Check your package.json for unused dependencies 6)Check your imports, import only what is needed Hope this helps
-
The best Angular 13 Starter Project
- `npm run start` - Start the app - `npm run lint` - Lint the project - `npm run test` - Run unit tests - `npm run build` - Build the project - `npm run build:prod` - Build the project in production mode - `npm run build:prod:stats` - Build the project in product mode with stats - `npm run analyse` - Analyse bundle with [webpack-bundle-analyzer](https://github.com/webpack-contrib/webpack-bundle-analyzer) - `npm run compodoc` - Generate [compodoc](https://github.com/compodoc/compodoc) documentation - `npm run version` - Generate changelog - `npm run prettier` - Format the whole project - `npm run audit` - Audit this application using Sonatype OSS Index
compodoc
- What documentation generator do you use for Angular libraries?
-
The best Angular 15 Starter Project
β Angular 15 β Angular Material β Unit Testing with Jest β End-to-End Testing with [TestCafΓ©](https://testcafe.io/ β Internationalization with Transloco β Auto documentation with Compodoc β Analyse your project with webpack-bundle-analyzer β Docker β ESLint β Prettier β Commit Linting β AuditJS Audit this application using Sonatype OSS Index β Auto-generate a CHANGELOG with auto-changelog
-
Documentation culture
Properly written code, there are documentation tool like this for Angular and others. https://compodoc.app/
-
Are there any Angular Modules, components, services relationship Mapping tools? Apart from Angular Augury.
Compodoc is a good tool for generating docs for an angular project. The documents generated also includes visual maps of dependencies.
-
I write more documents than code, but it comes with its struggles. Do you feel the same?
App documentation, here is compodoc (https://compodoc.app/) It is generated when the dev does a git commit and build in the pipeline.
-
Documenting Angular projects
Finally, we have come to a point where we want our JSDoc comment documentations to turn into a full scale documentation website, which we can share with new developers instead of providing lengthy Word documents, or which can be used by the team to search for explanations and direction during development. Thankfully, there are amazing tools that help us build such sites easily, with just a console command. Today we will be exploring one such tool called Compodoc, which is a documentation website generator specifically designed for Angular projects (it also supports Nest and Stencil, but we will focus on Angular).
-
Which tool for code documentation has worked best for you in an environment based on Nrwl/Nx, Angular, NestJS and TypeScript?
We use Compodoc in our applications. You write JSDoc comments and it does the hard work of creating the documentation for you.
-
π Angular 13 + ESLint, Material + Transloco + Jest, TestCafe + Docker + Prettier π
npm run compodoc - generate compodoc documentation
-
The best Angular 13 Starter Project
β Angular 13 β Angular Material β Unit Testing with Jest β End-to-End Testing with [TestCafΓ©](https://testcafe.io/ β Internationalization with Transloco β Auto documentation with Compodoc β Analyse your project with webpack-bundle-analyzer β Docker β ESLint β Prettier β Commit Linting β AuditJS Audit this application using Sonatype OSS Index β Auto-generate a CHANGELOG with auto-changelog
-
Architecture Diagraming Tools
Not too sure about a diagramming tool for a new project, but I've used compodoc to automatically generate documentation and diagrams for existing Angular apps before and would definitely recommend checking it out
What are some alternatives?
awesome-vite - β‘οΈ A curated list of awesome things related to Vite.js
storybook - π The UI component explorer. Develop, document, & test React, Vue, Angular, Web Components, Ember, Svelte & more! [Moved to: https://github.com/storybookjs/storybook]
vite-plugin-svgr - Vite plugin to transform SVGs into React components
tsdoc - A doc comment standard for TypeScript
esbuild - An extremely fast bundler for the web
ngx-virtual-scroller - Virtual Scroll displays a virtual, "infinite" list.
rollup-plugin-visualizer - πβοΈ Visuallize your bundle
vscode-docthis - JSDoc generator extension for Visual Studio Code.
lighthouse - Automated auditing, performance metrics, and best practices for the web.
ESLint - Find and fix problems in your JavaScript code.
babel-plugin-import - Modularly import plugin for babel.
ngd - View the dependencies tree of you Angular application