webpack-bundle-analyzer
awesome-vite
Our great sponsors
webpack-bundle-analyzer | awesome-vite | |
---|---|---|
20 | 33 | |
12,488 | 12,726 | |
0.2% | 3.3% | |
6.4 | 9.4 | |
4 months ago | 8 days ago | |
JavaScript | JavaScript | |
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
-
Web Performance Resources for Front End Developers
Webpack Bundle Analyzer
-
🚀 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
-
10 Must-Have React Developer Tools to Write Clean Code💻🔥
4. Bundle Analyzer
-
Angular 12 + ESLint + Material + Transloco + Jest + Compodoc + Docker
npm run analyse - analyse bundle with webpack-bundle-analyzer
-
How to get started with improving site performance
One of the first tools that I started using is webpack-bundle-analyzer. It generates a report of the output of your webpack build which visualises the filesize of your JavaScript files and what libraries are included in each file. Here is an example screenshot:
-
Minimizing Webpack bundle size
Let’s start by getting an understanding of all the code & dependencies that need to be sent to the browser, along with the memory size of each. Adding webpack-bundle-analyzer to your webpack configuration is the perfect starting point.
-
Using Vite with React
In our "old" build system - I configured webpack-bundle-analyze to inspect bundle chunks and understand what it made of. I added rollup-bundle-visualyzer instead (although there is an issue that the reported size is not correct).
awesome-vite
-
JS Toolbox 2024: Bundlers and Test Frameworks
Vite is a modern front-end build tool that significantly improves the development experience with its fast cold server start and hot module replacement. It leverages native ES modules and is optimized for speed and efficiency.
-
To learn svelte, I clone Github's issues page including useful features that you might consider reusing.
🔨 Vite ⚡
- JavaScript Gom Jabbar
-
Seeking React TypeScript with Redux Toolkit GitHub Project for Learning Purposes
I suggest Vite community templates https://github.com/vitejs/awesome-vite
-
What are the biggest issues with Vue?
here
-
Suggestions needed to replace React-Scripts
I saw Vite but not sure how easy it is to switch to that from an existing project.
-
Build a SSR App with React, React Router and Vite
Vite - build tool that leverages the availability of ES Modules in the browser and compile-to-native bundler
-
[AskJS] Anyone using Linaria + Vite?
But since it demands an additional step during build, it has to be some sort of integration with the build tool. Currently I'm using React + Vite, so I wonder, does anyone currently use Linaria + Vite? If so, how?
-
Show HN: Integrated ViteJS SSR in Rust
Hi HN community,
One of the first requests I got for ‘create-rust-app’ was from a friend of mine regarding ViteJS. At the time, I didn’t know how awesome and fast ViteJS was as opposed to webpack and the name sounded like a JavaScript library so I didn’t really see the point. Upon a second review of the project, I realized the best thing I could do for the rust web dev community was to create an example of how to integrate ViteJS-based SSR in rust. And voilà, here it is. The docs also link to an “awesome list” which references create-rust-app [1].
This integration paves the way for things like adding multiple front end framework choices for the project and potentially doing SSG in rust.
[1] https://github.com/vitejs/awesome-vite#integrations-with-bac...
- Should i do a vue 3 project before jumping into nuxt?
What are some alternatives?
vite-plugin-svgr - Vite plugin to transform SVGs into React components
rollup-plugin-visualizer - 📈⚖️ Visuallize your bundle
esbuild - An extremely fast bundler for the web
lighthouse - Automated auditing, performance metrics, and best practices for the web.
vite-tsconfig-paths - Support for TypeScript's path mapping in Vite
nivo - nivo provides a rich set of dataviz components, built on top of the awesome d3 and React libraries
Snowpack - ESM-powered frontend build tool. Instant, lightweight, unbundled development. ✌️ [Moved to: https://github.com/FredKSchott/snowpack]
plugins - 🍣 The one-stop shop for official Rollup plugins
babel-plugin-import - Modularly import plugin for babel.
vite - Next generation frontend tooling. It's fast!