lighthouse
webpack-bundle-analyzer
Our great sponsors
lighthouse | webpack-bundle-analyzer | |
---|---|---|
129 | 12 | |
24,599 | 11,763 | |
1.0% | 0.7% | |
9.7 | 5.7 | |
5 days ago | 26 days ago | |
JavaScript | JavaScript | |
Apache License 2.0 | 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.
lighthouse
-
Portfolio feedback
https://developers.google.com/web/tools/lighthouse/ or in the chrome devtools
-
Can you guys tell me why my website is soooo slow?
As you said, there are a few huge images that aren't optimized. You can use tools like Google Lightouse or Koalati to detect potential issues and find things that can be improved.
-
Întrebare legată de Web Semantic
Astea au și tool-uri de validare destul de bine puse la punct: https://developers.google.com/search/docs/advanced/structured-data + https://wave.webaim.org/ sau https://www.accessi.org/ sau chiar https://developers.google.com/web/tools/lighthouse/
-
Watching your Core Web Vitals on Jamstack
Lighthouse tests are a helpful method to measure your web vitals — you can run Lighthouse tests from Chrome DevTools, via the Lighthouse Chrome Extension, or in the command line:
-
Building an offline-first application with Node.js and SQLite
Now let's check if we properly set up our PWA using a Google Lighthouse check. Right-click on your browser and select "inspect." On the inspect tabs, select lighthouse and click on generate report. If everything went well with your application, you should see an output like the one in the screenshot below:
-
Show HN: Datagridxl2.js – No-nonsense fast Excel-like data table library
Lighthouse [1][2] Accessibility audit/ scores can be a good tool to check A11Y issues automatically, and it is fairly easy to integrate into your CI/CD Pipelines to get the report automatically to check for issues/ regression.
The web accessibility world is complex enough that simulating different methods of access like using screen readers or different font-sizes and doing manual tests for compliance is not particularly feasible if you want to make your content accessible to all.
-
How I massively improved my website performance by using the right tool for the job
Performance was compared between the Next.js site and Eleventy site using three free tools: Google Lighthouse, web.dev/measure and Web Page Test. Lighthouse tests were run in Brave Browser dev tools, Web Page Test runs were conducted via the web app using the London, UK - EC2 server, and web.dev tests were conducted in the browser. Given that I advocate for mobile-first development — and that's where performance is most likely to be impacted given the unpredictable speed of mobile data — all tests were conducted in an emulated mobile environment using a medium 3G network speed, on iPhone 6/7/8.
-
Tips Before Moving Laravel App to Production
use https://developers.google.com/web/tools/lighthouse
-
Programmatic SEO with Next.js
The next step would be to fine-tune our SEO scores for those pages, which can be done via Lighthouse.
-
Is there such a thing as "too much divs"?
It's on github
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
-
Can you import an app written in React 17 in to a larger monolith running React 16?
You can check which versions of react are used in your node modules: npm ls react or yarn why react -R. You can also use a bundle analyzer to further inspect your dependencies.
-
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).
-
How to make site load faster? (w/ React)
In order to achieve that, you may use webpack-bundle-analyzer.
-
Lazy loading react components with React.lazy and Suspense
Before splitting our bundle we should exhaust all our efforts and try to reduce our bundle size. Sometimes we might find it contains a lot of unnecessary user code or dependencies. A popular dev dependency we can use just for this is webpack-bundle-analyzer. This is a webpack plugin that can generate a bundle report, which allows us to dive into the content of our bundles in a visual manner, analyze them, and get some good insights.
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
axe-core - Accessibility engine for automated Web UI testing
esbuild - An extremely fast JavaScript and CSS bundler and minifier
Vue Storefront - The open-source frontend for any eCommerce. Built with a PWA and headless approach, using a modern JS stack. We have custom integrations with Magento, commercetools, Shopware and Shopify and total coverage is just a matter of time. The API approach also allows you to merge VSF with any third-party tool like CMS, payment gateways or analytics. Newest updates: https://blog.vuestorefront.io. Always Open Source, MIT license.
lighthouse-ci - Automate running Lighthouse for every commit, viewing the changes, and preventing regressions
rollup-plugin-visualizer - 📈⚖️ Visuallize your bundle
Turbolinks - Turbolinks makes navigating your web application faster
sveltekit-blog-mdx - SvelteKit MDX starter blog with MDsveX (Svelte in markdown)
Vue.js - 🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
babel-plugin-import - Modularly import plugin for babel.
budibase - Budibase is an open-source low code platform that helps you build internal tools in minutes 🚀