base64-loader
v1.0.0base64 file loader for webpack
Installation
npm install base64-loader
Usage
var fileContent = require("base64!./file.txt");
// => returns file.txt content as base64 string
npm install base64-loader
var fileContent = require("base64!./file.txt");
// => returns file.txt content as base64 string