wmr
webpack-bundle-analyzer
Our great sponsors
wmr | webpack-bundle-analyzer | |
---|---|---|
11 | 20 | |
4,921 | 12,483 | |
0.3% | 0.2% | |
2.9 | 6.4 | |
9 days ago | 4 months 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.
wmr
-
Generative minimal CSS patterns 🪩
wmr for near-instant builds & native TS support
- Angular Is Rotten to the Core
-
Where can I learn to properly store an API key on the backend of Create-React-App?
Preferred tech stack is always something I choose for the job at hand. That might just be a few rollup plugins + a tool like WMR or Vite, but it can be also be quite complex and custom build system too. It depends.
-
Integrating Fauna Into Preact WMR Application
While the development process is evolving for developers, there’s a need by many developers to have an all-in-one development tool that will make web application development faster and easier. WMR gives developers the added feature and advantage of building web applications based on the all-in-one development tool.
-
Using Vite with React
wmr does not have error overlay / SVGR support
It did not take a lot of time to choose the tool. Currently, there are 3 major bundlers powered by ESM - vite, snowpack, and wmr. From the first glance - all of them look promising and I did not care about their internals as long as I don't need to touch them.
-
Hammer: Using esbuild to create better tools for the web
WMR could be another option if you haven’t already seen it.
- We Switched from Webpack to Vite
-
a first look at wmr
wmr is an all-in-one development tool for modern web apps. Since it leverages ESM modules, it only requires an HTML files with
-
vitejs - Next generation frontend tooling.
Thanks! I'll watch this today on lunch break. :) To be frank, I'm not even a Vue user, but Vite looks truly awesome. I love that popular framework authors are taking the time to make their build tools framework-agnostic (also see, wmr by the Preact guys).
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).
What are some alternatives?
awesome-vite - ⚡️ A curated list of awesome things related to Vite.js
vite-plugin-svgr - Vite plugin to transform SVGs into React components
esbuild - An extremely fast bundler for the web
rollup-plugin-visualizer - 📈⚖️ Visuallize your bundle
lighthouse - Automated auditing, performance metrics, and best practices for the web.
vite - Next generation frontend tooling. It's fast!
babel-plugin-import - Modularly import plugin for babel.
nivo - nivo provides a rich set of dataviz components, built on top of the awesome d3 and React libraries
vite-tsconfig-paths - Support for TypeScript's path mapping in Vite
compodoc - :notebook_with_decorative_cover: The missing documentation tool for your Angular, Nest & Stencil application
preact-cli - 😺 Your next Preact PWA starts in 30 seconds.