{"library":"base64-image-loader","type":"library","category":null,"description":"A webpack loader that converts images to base64 data URIs suitable for embedding directly in HTML img src attributes. Version 1.2.1 is the current stable release; the project appears to be in maintenance mode with infrequent updates. Unlike generic base64 loaders, this one returns a complete data URI string (e.g., 'data:image/png;base64,...') rather than raw base64, making it easy to drop into img tags without manual prefixing. Supports common image formats via a MIME map but has limited extensibility. Not actively maintained since 2018, and relies on webpack 1.x/2.x conventions — incompatible with modern webpack versions without custom configuration.","language":"javascript","status":"maintenance","version":"1.2.1","tags":["javascript","base64","image","webpack","loader","img","src","img src"],"last_verified":"Wed May 27","install":[{"cmd":"npm install base64-image-loader","imports":["import file from 'base64-image-loader!./file.png'","const file = require('base64-image!./file.png')","module.exports = {\n  module: {\n    rules: [\n      {\n        test: /\\.(png|jpg|gif)$/,\n        use: 'base64-image-loader'\n      }\n    ]\n  }\n}"]},{"cmd":"yarn add base64-image-loader","imports":[]},{"cmd":"pnpm add base64-image-loader","imports":[]}],"homepage":null,"github":"https://github.com/jahredhope/base64-image-loader","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/base64-image-loader","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/base64-image-loader/compatibility"}}