babel-plugin-inline-import-data-uri
JSON →Babel plugin that enables importing files as base64-encoded Data URIs. Version 1.0.1 (released ~2018) is the latest stable version, with no frequent releases. It hooks into Babel's transform step to replace import statements for supported extensions (default: .svg, .png) with the file content as a data URI string. Differentiators vs alternatives (e.g., Webpack's url-loader, babel-plugin-inline-import): it focuses purely on Babel transforms without bundler dependency, and outputs only Data URIs (not raw text or base64 blobs). Requires Babel 6+ and Node.js. Limited to small files due to inlining.
Traffic · last 30 days ↓77% vs prev 7d
total hits 28
actors 7 distinct systems
last hit 4d ago human
top countries 🇨🇦 Canada · 🇩🇪 Germany · 🇺🇸 United States · 🇸🇬 Singapore