🤫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 31, 2026

We are hiring the people who will make private super agents real

🤫 is opening roles across protocol and policy, forward-deployed engineering, field sales, and the go-to-market team — and this is an honest account of what each one is for.

July 31, 2026

Six months, told properly — the releases we shipped and never announced

A newsroom record of what 🤫 shipped between February and July 2026, drawn from the commit history rather than memory, with the people who did it named.

July 29, 2026

Ask Them. Ask Them Every Time.

Steve Jobs described the whole of privacy in about forty seconds in 2010, and nobody built it. This is what a human-first subscription to your own information looks like if you take him literally - including the parts that are harder than they sound.

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
  • The field guide - the book
  • Research & papers
  • Guides - by topic
  • Academy
  • Events & public assets
  • Wiki

Company & open

  • About
  • Team
  • Investors
  • Fund A
  • Building in the open
  • News & investor relations
  • 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)

🤫 Private Agent One is free for every American citizen. We do not sell your data, your attention, or your contacts.

Company and product names are used to describe interoperability only and do not imply affiliation or endorsement. Certifications described as “in pursuit” are not held today.

Copyright © 2026 Hushh Technologies Corporation. All rights reserved.

Privacy PolicyTerms of UseYour data rightsAccessibilitySite Map

🇺🇸United States

🤫husshhusshKirkland, WashingtonMore ways to reach us: talk to a human or find an agent near you.