Tagged articles
ES Modules
26 articles · Page 1 of 1

21CTOFeb 26, 2026 · Frontend Development
On February 24, 2026, jQuery celebrated its 20th anniversary with the release of version 4.0, a major overhaul that streamlines the library, adopts ES modules, drops legacy browser support, improves security, and offers a lightweight, migration‑friendly upgrade path for developers.
ES ModulesJavaScriptLibrary
0 likes · 7 min read

On January 17, 2026, the jQuery team launched version 4.0.0, a major update that drops legacy IE support, migrates the codebase to ES Modules, adds Trusted Types security, removes deprecated APIs, and sparks a community debate about its relevance in a modern JavaScript ecosystem.
ES ModulesJavaScriptTrusted Types
0 likes · 6 min read

Layui 3 v3.0.0‑alpha restructures the project with ES‑module migration, a Rollup‑Babel‑PostCSS build pipeline, Prettier + ESLint enforcement, Jest testing, CSS‑Variable theming, and multiple import methods, while keeping component APIs identical to v2 and dropping IE support.
Build ToolsCSS-variablesES Modules
0 likes · 5 min read

Although `export default` offers a concise syntax, leading frontend teams and large projects now forbid it because named exports enforce consistent naming, improve tree‑shaking, simplify barrel re‑exports, and reduce refactoring pain, making codebases more maintainable and tool‑friendly.
ES ModulesJavaScriptexport default
0 likes · 5 min read

The article explains why many large‑scale front‑end teams discourage the use of JavaScript's `export default` in favor of named exports, citing benefits for naming consistency, tree‑shaking efficiency, and simpler module re‑exports in long‑term projects.
ES ModulesJavaScriptnamed exports
0 likes · 4 min read

This article explains the principles of Tree Shaking, outlines prerequisites, demonstrates common pitfalls such as CommonJS usage, object aggregation, indirect re‑exports, side‑effect modules, and dynamic properties, and provides practical ways to verify that dead code has been successfully removed from your bundle.
ES ModulesFrontend Optimizationdead code elimination
0 likes · 8 min read

Discover the essential 2025 Node.js development techniques—including default ES modules, built-in fetch API, modern testing with Vitest, Bun compatibility, mandatory TypeScript, environment management with dotenv, zero-config tools, and robust process handling with PM2—to boost performance, maintainability, and developer productivity.
BunES ModulesFetch API
0 likes · 10 min read

This article reviews the historic use of Immediately Invoked Function Expressions (IIFEs) in JavaScript, explains their drawbacks, and demonstrates how native ES modules provide a cleaner, more maintainable, and standards‑based alternative for organizing code in modern front‑end development.
ES ModulesIIFEJavaScript
0 likes · 5 min read

This article presents eight practical modularization strategies—including ES Modules, componentization, separation of concerns, conventions, bundlers, dependency injection, lazy loading, and versioning—to help developers transform sprawling frontend codebases into clean, reusable, and maintainable systems.
Component ArchitectureES Modulesdependency-injection
0 likes · 8 min read

Node.js v22.12.0 LTS now activates require(esm) out‑of‑the‑box, letting require() load native ES modules without the experimental flag, while also introducing resizable ArrayBuffer behavior and updated root certificates, with guidance on usage, checks, and known pitfalls.
ArrayBufferES ModulesNSS certificates
0 likes · 5 min read

An in‑depth look at JavaScript’s module journey—from early script tags and IIFE patterns, through CommonJS, AMD, CMD, UMD, to modern ES Modules—explaining each specification, its motivations, code examples, and how they shaped today’s front‑end development.
AMDCommonJSES Modules
0 likes · 14 min read

This article explains why Vite outperforms Webpack by using a different development mode, leveraging native ES Modules, employing the high‑performance esbuild written in Go, and optimizing hot‑module replacement, making it especially advantageous for large frontend projects.
BundlerES ModulesVite
0 likes · 6 min read


ByteFEMar 2, 2022 · Frontend Development
The article explains how to overcome the limitation of browser ES Modules by creating inline‑import functionality with Blob URLs and dynamic import maps, providing both dynamic and static import capabilities for modular JavaScript in playground‑style environments.
BLOBES ModulesImportMap
0 likes · 7 min read

This article explains how Vite leverages native ES modules, esbuild pre‑bundling, and a flexible plugin system to provide instant dev‑server startup, fast hot‑module replacement, and efficient dependency handling, contrasting its approach with traditional bundlers like webpack.
Build ToolsES ModulesFrontend Development
0 likes · 17 min read

Ant Group’s Cloud Phoenix platform demonstrates a Bundleless asset loading strategy that combines ES Modules, NPM imports, and fine‑grained tree‑shaking to deliver low‑code, on‑demand component delivery, addressing performance bottlenecks and redundancy in enterprise middle‑office applications while paving the way for future ES Module‑centric development.
ES Modulesasset loadingbundleless
0 likes · 15 min read

This article explains how Vite‑built micro‑frontends can be loaded as native ES modules in icestark, covering the advantages of ES‑module tooling, dynamic import techniques, necessary Vite configuration changes, and the resulting fast cold‑start and second‑load performance for progressive upgrades.
ES ModulesFrontend DevelopmentMicro Frontends
0 likes · 13 min read

This article explains how native ES modules, supported by modern browsers since 2018, enable no‑build development with tools like Vite and Snowpack, and describes practical techniques for loading Vite‑based micro‑frontends in icestark using dynamic import, lib mode, and plugins.
ES Modulesdynamic importicestark
0 likes · 10 min read

Vite is a modern web development tool that leverages native ES modules, Koa server, and esbuild to provide instant cold starts, on‑demand compilation, and fast hot‑module replacement, eliminating traditional bundling steps while offering a flexible plugin system for handling dependencies, source files, and optimizations.
ES ModulesFrontend DevelopmentVite
0 likes · 15 min read

This article explains how Vite, built for Vue 3, solves Webpack's slow cold starts, sluggish hot updates, and heavy bundling by leveraging native ES Modules, a lightweight Koa server, and on‑demand compilation, while also comparing Vite with Snowpack.
ES ModulesHot Module ReplacementOn-Demand Compilation
0 likes · 23 min read

This article explains Vite’s architecture, from its fast cold‑start and native ES‑module development server to its plugin system, build process, handling of Vue single‑file components, CSS preprocessing, and hot‑module replacement, showing how it differs from traditional bundlers like webpack.
Build ToolsES ModulesFrontend Development
0 likes · 21 min read

Node.js 13.2.0 removes the experimental flag, making ES module support stable and defining clear rules—file extensions, package.json type fields, and runtime flags—to decide whether a file is loaded as an ES module or a CommonJS module.
CommonJSES ModulesNode.js
0 likes · 3 min read

This article introduces Rollup as a modern JavaScript bundler, explains its advantages over CommonJS and Webpack, demonstrates quick-start commands for browsers, Node.js, and UMD formats, covers tree‑shaking with ES modules, and provides a complete TypeScript‑React library setup with configuration and publishing steps.
ES ModulesJavaScript bundlerReact
0 likes · 11 min read

This article explains how Node.js 12 introduced native ECMAScript Modules, compares them with CommonJS, shows how to enable the feature, configure package.json, and adapt code using import/export, import.meta, and other module‑specific changes.
CommonJSES ModulesModules
0 likes · 10 min read

This article explains how Node.js supports ES modules since version 8.5, compares CommonJS and ES module loading behaviors, demonstrates interoperability techniques with code examples, and outlines the practical implications of using the experimental‑modules flag for backend development.
CommonJSES ModulesModule Interoperability
0 likes · 8 min read


JD TechMar 5, 2019 · Frontend Development
This article explains how Taro's H5 build size was dramatically reduced by applying dead‑code elimination, configuring sideEffects, converting component and API packages to ES modules, and using webpack's tree‑shaking together with a custom Babel plugin to replace default imports with named imports.
Babel PluginES ModulesTaRO
0 likes · 11 min read

This article explains which browsers currently support ES modules, how to enable them, the rules for module import paths, using nomodule for fallback, the default defer behavior of module scripts, and the execution order of inline and external module scripts.
Browser CompatibilityES Modules
0 likes · 4 min read
