Tag

module resolution

0 views collected around this technical thread.

IT Services Circle
IT Services Circle
Mar 18, 2023 · Frontend Development

New Features in TypeScript 5.0: Decorators, Const Type Parameters, Module Resolution, JSDoc Enhancements and Performance Improvements

TypeScript 5.0 introduces a host of enhancements—including a new decorator standard, const type parameters, expanded JSDoc support, multiple tsconfig extends, improved module resolution options, verbatim module syntax, and performance optimizations—along with detailed examples and guidance for developers.

Const TypesDecoratorsJSDoc
0 likes · 26 min read
New Features in TypeScript 5.0: Decorators, Const Type Parameters, Module Resolution, JSDoc Enhancements and Performance Improvements
Taobao Frontend Technology
Taobao Frontend Technology
Aug 22, 2022 · Frontend Development

Master Dynamic Entry Points in Node Packages: main, type, exports & module

This article explains how third‑party library authors can configure package.json fields such as main, type, exports, and module to provide dynamic entry points for both CommonJS and ESModule consumers, while also covering TypeScript's resolution strategy and practical code examples.

CommonJSESMNode.js
0 likes · 12 min read
Master Dynamic Entry Points in Node Packages: main, type, exports & module
DaTaobao Tech
DaTaobao Tech
Aug 1, 2022 · Backend Development

Configuring Dynamic Entry Points for Node Packages: main, type, exports, and module fields

Library authors can configure package.json using main, type, exports, and module fields to provide separate CommonJS and ES module entry points, enabling runtime selection based on import or require, improving tree‑shaking, bundler compatibility, and TypeScript type resolution while restricting undefined sub‑paths.

CommonJSESMNode.js
0 likes · 11 min read
Configuring Dynamic Entry Points for Node Packages: main, type, exports, and module fields
Didi Tech
Didi Tech
Aug 2, 2019 · Frontend Development

Understanding Webpack's Resolve Process for Modules and Loaders

Webpack resolves every import by mapping the request string to an exact file path through a configurable chain of resolver plugins for normal modules, node_modules packages, and loaders, and developers can speed up builds by using aliases, limiting module directories, and keeping extensions short.

Build ToolJavaScriptloader
0 likes · 20 min read
Understanding Webpack's Resolve Process for Modules and Loaders
Tencent IMWeb Frontend Team
Tencent IMWeb Frontend Team
Aug 9, 2016 · Frontend Development

Mastering Webpack: Core Concepts, Configurations, and Practical Examples

This article explains the fundamentals of Webpack, covering its packaging principles, key configuration options such as entry, output, resolve, externals, and watch, and provides concrete code examples to help developers efficiently bundle front‑end assets.

Webpackbuild-toolsbundling
0 likes · 9 min read
Mastering Webpack: Core Concepts, Configurations, and Practical Examples