webpack-bundle-analyzer
Webpack plugin and CLI utility that represents bundle content as convenient interactive zoomable treemap (by webpack-contrib)
vite-tsconfig-paths
Support for TypeScript's path mapping in Vite (by aleclarson)
Our great sponsors
webpack-bundle-analyzer | vite-tsconfig-paths | |
---|---|---|
20 | 5 | |
12,498 | 1,167 | |
0.2% | - | |
6.2 | 6.5 | |
14 days ago | about 1 month ago | |
JavaScript | TypeScript | |
MIT License | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.
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
Posts with mentions or reviews of webpack-bundle-analyzer.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-01-04.
-
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
vite-tsconfig-paths
Posts with mentions or reviews of vite-tsconfig-paths.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-04-30.
-
From webpack to vite: custom module resolution, sass import, babel config
Following suggestion in the issue, i looked at vite-tsconfig-paths which is even better because i already have configured vscode through typescript config:
-
Trying Vite for team's new front end project, can't seem to configure a base import path?
Try this one. https://github.com/aleclarson/vite-tsconfig-paths
-
Migrating from Create React App (CRA) to Vite
We need vite-tsconfig-paths in order to tell Vite how to resolve absolute paths from the tsconfig file. This way you can import modules like this:
-
Vite: Import path alias only setting tsconfig.json
You can use vite-tsconfig-paths on SvelteKit project. And it doesn't work, plese try delete generated folder for dev server like .svelte-kit.
-
Using Vite with React
We already have configured path aliases with webpack and tsconfig - so I wanted to keep that behavior. Luckily we have the vite-tsconfig-paths exactly for that. It worked well. I could also try using the alias for that.
What are some alternatives?
When comparing webpack-bundle-analyzer and vite-tsconfig-paths you can also consider the following projects:
awesome-vite - ⚡️ A curated list of awesome things related to Vite.js
DefinitelyTyped - The repository for high quality TypeScript type definitions.
vite-plugin-svgr - Vite plugin to transform SVGs into React components
esbuild - An extremely fast bundler for the web
tsconfig-paths-webpack-plugin - Load modules according to tsconfig paths in webpack.
rollup-plugin-visualizer - 📈⚖️ Visuallize your bundle
Snowpack - ESM-powered frontend build tool. Instant, lightweight, unbundled development. ✌️ [Moved to: https://github.com/FredKSchott/snowpack]
lighthouse - Automated auditing, performance metrics, and best practices for the web.
babel-plugin-import - Modularly import plugin for babel.
webpack-bundle-analyzer vs awesome-vite
vite-tsconfig-paths vs DefinitelyTyped
webpack-bundle-analyzer vs vite-plugin-svgr
vite-tsconfig-paths vs awesome-vite
webpack-bundle-analyzer vs esbuild
vite-tsconfig-paths vs tsconfig-paths-webpack-plugin
webpack-bundle-analyzer vs rollup-plugin-visualizer
vite-tsconfig-paths vs Snowpack
webpack-bundle-analyzer vs lighthouse
vite-tsconfig-paths vs rollup-plugin-visualizer
webpack-bundle-analyzer vs babel-plugin-import
vite-tsconfig-paths vs esbuild