Tagged articles
7 articles
Page 1 of 1
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 TypesJSDocTypeScript
0 likes · 26 min read
New Features in TypeScript 5.0: Decorators, Const Type Parameters, Module Resolution, JSDoc Enhancements and Performance Improvements
NetEase Cloud Music Tech Team
NetEase Cloud Music Tech Team
Dec 2, 2022 · Frontend Development

How to Analyze and Optimize Frontend Bundle Size with a DIY JS Parser

This article walks through measuring bundle growth, identifying duplicate dependencies and missing tree‑shaking, building a Go‑based JavaScript parser, generating a dependency graph, handling conditional imports, applying dead‑code elimination, and finally using the tool to shrink frontend bundle size.

Tree Shakingbundledead code elimination
0 likes · 35 min read
How to Analyze and Optimize Frontend Bundle Size with a DIY JS Parser
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 ToolJavaScriptmodule-resolution
0 likes · 20 min read
Understanding Webpack's Resolve Process for Modules and Loaders