🤫husshhussh
🤫husshhusshOnePuppy
The 🤫 magazine
ReactFrontendchromeextensions

Why do I need a JavaScript Module Bundler in hushh Chrome extensions‍️

Get a detailed comparison of three popular JavaScript frameworks - Angular, React, and Vue.js. Understand the strengths, weaknesses, and use cases for each framework to make an informed decision for your next web development project.

Apoorv Bedmutha·November 12, 2022·2 min read
Why do I need a JavaScript Module Bundler in hushh Chrome extensions‍️

JavaScript Module Bundler in hussh Chrome Extensions

As of now Chrome Extensions inherently are built for the Vanilla Web Projects i.e The Pure HTML, CSS & JS builds. While working on the hushh.ai Chrome Extension, Me and the team wanted to take benefit of the React Library for quick and dynamic development of the frontend, however the Browser will not accept a Node Project (The Create-React-App project) directly as an extension. To solve this problem I had to find a way to convert the Node Project into a Vanilla Web Project, this is exactly where Javascript Bundlers like Webpack come in handy! Let me share with you what I learnt while integrating a JS bundler like Webpack in chrome extension:

  • JS Module bundlers are development tools that can combine large number of JS files with their dependencies into a single static JS file which is production ready.
  • To achieve this these bundler’s make use of a data structure called dependency graph, A dependency graph starts from an entry / source JS file provided and then tracks all the files this entry file is dependent on, so that when creating the bundled code, these dependencies are also added and linked properly.
  • Dependencies can include CSS, Images even Web fonts, if a JS file is dependent on another JS file, then the dependencies are tracked recursively. This also ensures that only necessary files are included in the production build
  • The aim of these module bundlers is to make the bundle as small as possible, often with just 1 JS file, hence now we do not need to attach 10 different JS scripts to the website but rather just 1 bundled JS is enough
  • When combining the JS files, bundlers often optimise the performance via code splitting, hot module replacement, error logging etc
  • While doing dependency resolution, each file is assigned a unique id in order to resolve naming conflicts
  • Dependency resolution also helps in maintaining a dependency order, i.e. in what order should which dependencies be loaded in order to avoid errors. (reminds me of topo-sort)
  • Popular Bundlers: browserify, esbuild, parcel, rollup, webpack (most popular)

Hope this introduction helps you to become a better dev, since it certainly helped me. PS: also attaching some great resources to learn more as always

Happy hussh Coding 🤫

vectoDatabaseBrands

Apoorv Bedmutha (SDE @hushh)

References: Link to the post
Link-1 Link-1 Link-1

The 🤫 hussh magazine

Written by Apoorv Bedmutha, and built to read beautifully here — and to travel to 🤫 One on your phone, your glasses, and visionOS, as one immersive magazine you own.

More from the magazine →Back to top ↑

Keep reading

More stories from the magazine

July 16, 2026

Through the Wall of Worry

An honest, optimistic essay about the anxiety of the AI transition, jobs, privacy, control, and trust, and a credible path through it: ownership, consent, transparency, and keeping the human at the center. Confident, not naive.

July 12, 2026

The Future Is Yours

A research paper from Manish Sainani and the 🤫 Core Product and Technology Team on 🤫 Private Agent One: a private agent that answers only to its owner and works quietly for them, 24/7/365, with their trusted circle of people, AI agents, and machines — so they can live more fully. With gratitude to Thinking Machines Lab's essay on a human future, cited as inspiration. Consent-first, owned, human at the center.

July 12, 2026

Your financial health should move at the speed of your consent

Sharing your financial life with the people who advise you is still a mess of PDFs and portals. It does not have to be.

Products

  • Agent One
  • The 🤫 One app
  • Puppy One
  • Which Puppy is right for you?
  • The Puppy 100
  • Tag One
  • The 🤫 Store
  • The 🤫 One Card
  • Pricing
  • Claim your One
  • The product roadmap

🤫 Yellow Pages

  • The 🤫 Yellow Pages
  • Discover in the feed
  • Find a local expert
  • Coverage & markets
  • Connect - in Agent One
  • Ping an expert

Business & Enterprise

  • 🤫 for Business
  • Small & medium business
  • 🤫 Concierge (VVIP)
  • 🤫 for the Enterprise
  • Industry solutions
  • Federal government & agencies
  • 🇺🇸 Defense & national security
  • For advisors (RIAs)
  • Partner Portal
  • One for Sellers
  • Developers

Watch, read & learn

  • The media library
  • The 🤫 Feed
  • See it in a minute
  • Listen - the podcasts
  • Blogs
  • Research & papers
  • Guides - by topic
  • Academy
  • The Heartbeat
  • Wiki

Company & open

  • About
  • Team
  • Investors
  • Fund A
  • Building in the open
  • Newsroom & press
  • Release notes
  • Careers
  • Contact
  • Explore - the whole site, mapped
  • Sitemap

Trust, rights & gratitude

  • The Hussh Protocol (PCHP)
  • Day 0 Trusted Circle
  • The case - a right, made enforceable
  • Data-rights landscape
  • Accessibility
  • 🤫 Champions of the Community
  • 🤫 Faculty - the professors
  • Gratitude - people we admire
  • The 1024 - humans of the world
  • Search every page
  • Browse (developer view)
🤫husshhusshKirkland, WAPrivacyTerms

© 2026 Hushh Technologies Corporation - an independent company.