babel-plugin-transform-export-default-name
JSON →Babel plugin that transforms export default of anonymous functions, arrow functions, and anonymous classes to named exports using the filename as the variable name. Version 2.1.0 is current. Released sporadically; last update was several years ago. Key differentiator: solves stack trace readability by assigning a derived name from the file (e.g., foo-bar.js becomes fooBar), improving debugging. Unlike other plugins that only handle function declarations, this targets anonymous/arrow function and class expressions. Works with Babel 6 and 7 (likely).
Traffic · last 30 days stale · no recent hits
total hits 13
actors 4 distinct systems
last hit 20d ago AhrefsBot
top countries 🇸🇬 Singapore · 🇺🇸 United States · 🇨🇦 Canada · 🇫🇷 France · 🇩🇪 Germany