babel-plugin-path-chunk-name

JSON →
library 1.3.1 ·javascript
verified May 27, 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 24
actors 6 distinct systems
last hit 2d ago AhrefsBot
MetaBot
4
ByteDance
3
GPTBot
2
Script
1
Humans
6

top countries 🇩🇪 Germany · 🇺🇸 United States · 🇸🇬 Singapore · BD · 🇨🇦 Canada