Skip to Main Content

SOFTWARE DEVELOPMENT

Modern web development without bundlers or build steps

Eliminate development bloat by using native browser features, JSDoc for type safety, and serverless architecture for efficient web applications.

Read time
5 min read
Word count
1,071 words
Date
Nov 30, 2026
Key Takeaways:
Native ECMAScript modules are now supported by all modern browsers and eliminate the need for traditional JavaScript bundling.
The Svelte framework team recently transitioned their core codebase from TypeScript back to standard JavaScript using JSDoc for type safety.
Htmx allows developers to handle reactivity and DOM updates through HTML attributes rather than complex client side state management.
Serverless functions combined with managed document stores like Firestore enable database interactions without managing connection pooling or SQL migrations.
Modern web development without bundlers or build steps. Credit: Shutterstock
Credit: Shutterstock
🌟 Non-members read here

Modern web development often feels like a heavy burden when starting a new project. Initiating a standard meta-framework command frequently results in hundreds of megabytes of dependencies flooding a local hard drive. This sprawling ecosystem of polyfills and transpilers is often used just to display basic elements in a browser.

While many developers believe that modular code and type safety require a complex build step, the landscape has changed. Browser APIs, serverless hosting, and cloud databases have matured into powerful tools that can handle these tasks natively. It is now possible to build sophisticated applications by stripping the development pipeline down to its bare essentials.

Utilizing native browser capabilities

For years, developers bundled JavaScript because browsers lacked support for import and export statements. This limitation ended long ago, as all modern browsers now natively support ECMAScript (ES) modules. Despite this, many engineering teams continue to rely on server-side bundling due to legacy habits and the structure of the npm package ecosystem.

Bundling is often defended as a way to manage package resolution or avoid network waterfalls where the browser fetches files sequentially. However, native solutions provide elegant answers to these issues. By using an import map in the HTML file, the browser handles package resolution directly without a tool like Vite searching through local folders.

Modern dependency management

Instead of local bundling, developers can use endpoints like esm.sh to serve dependencies. These services compile requested packages into ES modules on the fly and send them to the client. This effectively moves the bundling process to a specialized external service, reducing the complexity of the local environment.

Performance concerns regarding multiple small files are addressed by HTTP/2 multiplexing. This technology allows the browser to fetch several files concurrently over a single connection. The result is a development experience that feels identical to using a bundler but operates without a package.json file or a massive node-modules directory.

Streamlining the coding process

When these native features are used, the resulting code looks very similar to standard modular JavaScript. Developers can import local files or external libraries cleanly within their main application logic. This approach preserves the benefits of modularity while removing the friction of a local build pipeline.

By letting the browser do the heavy lifting, the deployment process becomes significantly faster. There is no longer a need to wait for a build command to finish before seeing changes. This immediacy improves the developer experience and reduces the potential for configuration errors in the build chain.

Replacing compilers with intelligent documentation

The primary reason many teams refuse to abandon build steps is a reliance on TypeScript. Static typing is vital for maintaining large applications, but the TypeScript compiler is not the only way to achieve it. Modern development environments can provide the same benefits through standard JavaScript files.

Integrated Development Environments (IDEs) use specialized language servers that can interpret JSDoc comments. By defining types within these comments, developers receive the same autocompletion and error checking provided by TypeScript files. The code remains valid JavaScript that the browser can execute without any transformation.

Industry shifts toward simplicity

This method is gaining significant momentum among high-profile software teams. The creators of the Svelte framework recently moved their entire core codebase away from TypeScript files. They returned to standard JavaScript with JSDoc to eliminate the friction caused by constant compilation during development.

Using this approach, a developer can define complex objects and return types directly in the source code. If a script attempts to access a property that does not exist in the definition, the IDE highlights the error immediately. This provides the safety of a typed system while maintaining a “no-build” workflow.

Benefits of a single language format

Keeping files in standard JavaScript simplifies the entire toolchain. There is no need for source maps to debug code because the code running in the browser is the exact code written in the editor. This transparency makes it easier to track down bugs and understand how the application behaves at runtime.

Furthermore, this strategy removes the need for constant updates to the TypeScript compiler and associated configuration files. Teams can focus on writing logic rather than managing the versions of their build tools. It represents a shift back to a more direct and predictable way of writing web software.

Adopting server centric reactivity

Managing state changes and document updates is another area where developers often reach for heavy frameworks. Libraries like React or Angular create a “split-state” problem where data exists in a database, a server, and a client-side store. Keeping these three layers in sync adds immense complexity to a project.

A simpler alternative is found in htmx, which uses HTML extension attributes to provide advanced front-end power. Instead of sending JSON data that requires client-side parsing and templating, htmx allows the server to send HTML fragments. These fragments are then swapped directly into the browser’s document object model.

The server as a single source of truth

By using htmx, the server remains the primary source of truth for the application state. When a user interacts with a button, the library intercepts the event and issues a request to a serverless endpoint. The server processes the request and returns the updated HTML needed for that specific part of the page.

This approach eliminates the need for large client-side state management libraries. The amount of custom JavaScript required to achieve complex UI updates is reduced to nearly zero. It follows the original principles of the web while providing the reactive feel of a modern single-page application.

Integrating modern infrastructure

To support this lean architecture, developers can pair serverless functions with managed databases like Firestore. This combination requires minimal configuration and avoids the overhead of managing dedicated database instances or complex SQL migrations. The serverless functions act as micro-templating engines that fetch data and return HTML.

Using a platform like Vercel to host these functions ensures that the backend scales automatically with demand. This setup allows a single file to handle routing, database interaction, and UI rendering. The resulting system is easy to deploy, highly performant, and free from the bloat typical of modern enterprise web stacks.

The technology industry often attempts to solve complexity by adding more layers of infrastructure. However, the web platform has evolved to the point where many of those layers are no longer necessary. Embracing native modules, JSDoc, and htmx allows for the creation of robust applications without the weight of traditional build pipelines.

References