Preparing for system design interviews?  Try bugzed.com →

babel-plugin-path-chunk-name

JSON →
library 1.3.1 ·javascript
verified Jun 17, 2026

Babel plugin (v1.3.1, last updated 2020) that automatically names dynamic import chunks based on the file path, removing the need for manual webpackChunkName magic comments. It transforms import() to include webpackChunkName derived from the imported module's filename or directory structure. Options include 'delay' mode which wraps import in a function for lazy evaluation. Differentiates from manual comments and NamedChunksPlugin by automating chunk naming with zero configuration, preserving folder structure in output.

total hits 18
actors 5 distinct systems
last hit 20d ago AhrefsBot
ByteDance
5
GPTBot
4
Amazonbot
4
Script
1

top countries 🇺🇸 United States · 🇸🇬 Singapore · 🇨🇦 Canada · 🇩🇪 Germany · 🇫🇷 France