Skip to content
-
Subscribe to our newsletter & never miss our best posts. Subscribe Now!
  • https://www.facebook.com/
  • https://twitter.com/
  • https://t.me/
  • https://www.instagram.com/
  • https://youtube.com/
Brief B2B

Your Daily Hub for Enterprise Intelligence

Brief B2B

Your Daily Hub for Enterprise Intelligence

  • Home
  • IT
  • Technology
  • AI
  • Education
  • Marketing
  • Startups
  • Home
  • IT
  • Technology
  • AI
  • Education
  • Marketing
  • Startups
Subscribe
Close

Search

IT

No bundler, no builds, no bloat: Stripping web development down to the essentials

By InfoWorld
November 30, 2026 6 Min Read
Comments Off on No bundler, no builds, no bloat: Stripping web development down to the essentials

If you want to feel the crushing weight of modern web development, type npx create-next-app@latest (or the corresponding command from your meta-framework of choice) and watch as the terminal downloads hundreds of megabytes to your hard drive. Thousands of dependencies. A sprawling, fractal tree of polyfills, transpilers, server components, and bundlers just so you can render a “Hello World”

tag to a browser.

And they say Java is bloated.

We have spent the last decade believing that wiring up a real-world web app requires us to do all that wiring ourselves. We accepted that, in order to get modular code, type safety, and reactive user interfaces, we needed a build step that requires a doctorate in Webpack or Vite configuration.

But a funny thing happened while we were busy editing the YAML. The browser, serverless hosting, and cloud-native databases all matured into highly capable tools.

By combining raw browser APIs and a lightweight, event-driven, serverless architecture (specifically Vercel and Firestore), we can achieve everything a heavy single-page app (SPA) framework promises but in an extremely lightweight way. It’s a completely bloat-free approach—no bundler, no compilers, no two-gigabyte node_modules folder.

Let’s hot rod this thing and strip the web development pipeline down to the essentials.

Ditch the bundler for native ES modules

For years, we bundled our JavaScript because browsers didn’t understand import and export. That hasn’t been true for a long time. All modern browsers natively support ECMAScript (ES) modules.

But due to inertia, legacy know-how, and the realities of the npm package ecosystem, we often find ourselves still doing that wrangling on the server. There are valid technical reasons why bundling remains entrenched in the enterprise—specifically, managing bare specifiers (like import React from 'react'), avoiding deep network waterfalls (the browser downloading file A, parsing it, then realizing it needs file B), and tree shaking (stripping out dead code from libraries).

However, the modern web has elegant, native answers to all of these problems. Skipping the bundle step produces a surprisingly outsized simplification in how you think about, write, and deploy software.

You can entirely skip the bundler. Your index.html needs to declare the script type and use an importmap to handle package resolution directly in the browser. For example:



    
    Zero-Build App
    
    
    
    
    {
      "imports": {
        "lodash-es": "https://esm.sh/lodash-es@4.17.21"
      }
    }
    


    

Instead of having Vite search through node_modules for package names (like lodash-es) and sending them to the browser, we define exactly what the browser needs and let it do the work. The mechanism for avoiding waterfall downloads is the esm.sh endpoint. It doesn’t naively send the file back—it compiles the dependencies and sends that back, all neatly packaged as ES modules. It is like a SaaS version of a bundler.

And what about tree shaking? Modern, edge-native CDNs like esm.sh or Skypack handle the translation of legacy CommonJS packages and perform on-the-fly tree shaking before the file ever crosses the wire. Combined with the multiplexing of HTTP/2 (which transparently handles fetching multiple small files concurrently), the waterfall effectively vanishes.

In app.js (imported in our code sample above), you can natively import other local JavaScript files or grab external dependencies cleanly. No npm install. No package.json.

// app.js
import { renderUI } from './ui.js';
import { fetchUserData } from './api.js';
import { capitalize } from 'lodash-es'; // Resolved instantly by Import Map

document.addEventListener("DOMContentLoaded", async () => {
    const data = await fetchUserData();
    
    // Utilizing an external package without a build step
    data.username = capitalize(data.username); 
    renderUI(data);
});

The main thing to notice about app.js here is that it looks just like a JS module—just like you were using Webpack or Vite. We are essentially getting all the niceties of server-side bundling, but without the complexity.

Ditch the TS compiler for JSDoc

The biggest argument for a build step is TypeScript. Static typing can be invaluable, especially as an application scales. But you don’t need the TypeScript compiler to get there.

Modern IDEs use the TypeScript language server under the hood for regular JavaScript files. If you use JSDoc comments to define your types, your IDE will give you the exact same autocompletion, IntelliSense, and red squiggly error lines as a .ts file, but the code remains 100% valid runtime JavaScript.

Not long ago, this was an experimental idea. It is rapidly gaining traction. The developers of the Svelte framework recently migrated their entire core codebase away from .ts files and back to standard .js files using this very same method, specifically to eliminate the friction of a build step.

// api.js
// @ts-check 
/**
 * @typedef {Object} UserProfile
 * @property {string} id
 * @property {string} username
 * @property {number} reputationScore
 */

/**
 * Fetches the user profile from our serverless backend.
 * @returns {Promise}
 */
export async function fetchUserData() {
    const response = await fetch('/api/user');
    return await response.json();
}

If the client code in your app.js tries to access data.firstName, your IDE will complain, because firstName isn’t in the UserProfile definition. You get the safety of TypeScript with none of the build friction.

Ditch the JavaScript for htmx

When you are not using a reactive framework like Angular, React, Vue, or Svelte, how do you handle state changes and DOM updates? One very old answer is to stop trying to manage state on the client altogether. This is the concept encapsulated in REST. But the idea has a lean and modern avatar in htmx.

htmx takes a tiny set of HTML extension attributes and gives you a huge range of front-end power like Ajax and partial updates. Essentially, you just write HTML on the front end, and the back end holds the state.

Modern SPAs are saddled with a split-state problem: the state lives on the server, then is reconstituted on the client. You have state in your database, state in your server, and a JavaScript store on the client to keep it all in sync. htmx embraces a much simpler engineering principle: let the server be the single source of truth.

Instead of sending JSON payloads that require client-side parsing, mapping, and templating, htmx allows you to send HTML directly over the wire and swap it into the DOM.

When a user clicks that button, htmx intercepts the event, issues a GET request to our serverless endpoint, and swaps the response directly into the #profile-card div. You get reactivity, loading spinners, and error handling using declarative HTML attributes. The number of lines of client-side JavaScript required to achieve this is zero.

htmx is a simple idea, but it is a powerful one.

Use Firestore for data and Vercel for infrastructure

Our architecture will never be lean and mean if our data store hasn’t kept up with the times. We want something that requires near-zero configuration, is highly flexible, and makes talking to the client a breeze. One such platform is Firestore.

Firestore is a managed document store that has been around since 2017. Its stability and features reflect the refinements that have been poured into it. 

By pairing Firestore’s document model with Vercel’s serverless functions, you completely bypass the overhead of writing SQL migrations, managing connection pooling, or spinning up dedicated database instances. You just drop the Firebase Admin SDK into your serverless function, query the document, and push the results out.

Because we are returning HTML (or htmx to be precise) rather than raw JSON, our serverless back end acts as a micro-templating engine. We fetch the data from Firestore, insert it directly into an HTML string, and send it back to the client where htmx drops it exactly where it belongs.

// api/user.js
import { initializeApp, cert } from 'firebase-admin/app';
import { getFirestore } from 'firebase-admin/firestore';

// Initialize Firestore (using environment variables for credentials)
const app = initializeApp({
  credential: cert(JSON.parse(process.env.FIREBASE_CREDENTIALS))
});
const db = getFirestore(app);

export default async function handler(req, res) {
    if (req.method !== 'GET') return res.status(405).send('Method Not Allowed');

    try {
        // Fetch data directly from Firestore
        const userRef = db.collection('users').doc('matt_t');
        const doc = await userRef.get();
        
        if (!doc.exists) {
            return res.status(404).send('

User not found.

'); } const userData = doc.data(); // Return raw HTML for HTMX to swap into the DOM const htmlResponse = `

${userData.username}

Reputation Score: ${userData.reputationScore}

Profile loaded successfully via bare-metal serverless.

`; res.setHeader('Content-Type', 'text/html'); return res.status(200).send(htmlResponse); } catch (error) { return res.status(500).send('

Error loading profile.

'); } }

This single file handles the route, the database connection, the data retrieval, and the UI rendering. It deploys instantly, scales infinitely, and keeps the client architecture beautifully simple.

Ditch the complexity

The tech industry has a habit of solving complex problems by inventing even more complex infrastructure. We traded the simplicity of the early web for a sprawling ecosystem of transpilers, bundlers, and state-management libraries, telling ourselves it was the only way to build “serious” applications.

But the web platform has circled back toward simpler and lighter. By combining native ES modules, JSDoc type checking, htmx reactivity, and bare-metal serverless functions, you can achieve the scale and safety of a modern enterprise application without downloading half the internet to do it.

When faced with a sprawling, fractal monstrosity of a build pipeline, there is really only one pragmatic solution. Ditch the complexity, and embrace the state of the art in low-friction web infrastructure.

Author

InfoWorld

Follow Me
Other Articles
Previous

India’s Astrobase raises $75M to build SpaceX-style reusable rockets

Next

When AI pricing moves to credits, billing becomes a control system

Recent Posts

  • Apple’s trusty USB-C EarPods are half off during Cyber Monday
  • US county court is now paper-only following cybersecurity incident
  • The best Cyber Monday deals we’ve found so far
  • Google’s New Documentation Shows How AI Search Ranks Web Pages via @sejournal, @martinibuster
  • When AI pricing moves to credits, billing becomes a control system

Recent Comments

No comments to show.

Archives

  • November 2026
  • October 2026
  • September 2026
  • August 2026
  • July 2026

Categories

  • AI
  • Education
  • IT
  • Marketing
  • Startups
  • Technology
Copyright 2026 — Brief B2B. All rights reserved.