base64-loader

Base64 file loader for webpack

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
base64-loader
601.0.07 years ago7 years agoMinified + gzip package size for base64-loader in KB

Readme

base64 file loader for webpack

Installation

npm install base64-loader

Usage

``` javascript var fileContent = require("base64!./file.txt"); // => returns file.txt content as base64 string ``` Documentation: Using loaders

License

MIT (http://www.opensource.org/licenses/mit-license.php)