Preparing for system design interviews?  Try bugzed.com →

babel-plugin-transform-assets-import-to-string

JSON →
library 2.0.0 ·javascript
verified Jun 17, 2026

Babel plugin that transforms asset imports and requires (e.g., images, SVGs) into CDN URL strings with content-based hashing. Version 2.0.0 is the current stable release, requiring Node.js 20+ and @babel/core ^7.20.0. It supports both ESM import and CommonJS require, configurable file extensions, hash length, output directory for copying assets, and path preservation. Differentiators include isomorphic/SSR focus, TypeScript typings, and simple setup without a module bundler. Release cadence is low; the plugin has had only a few updates since its initial 1.0.0 release.

total hits 13
actors 4 distinct systems
last hit 16d ago ByteDance
GPTBot
4
ByteDance
4
Script
1

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