buffer-loader

Buffer loader module for webpack

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
buffer-loader
0.1.04 years ago7 years agoMinified + gzip package size for buffer-loader in KB

Readme

Buffer loader for webpack
Adapted from binary loader.

Installation

npm install buffer-loader

Usage

var fileContent = require('buffer-loader!./file.bin');
// => returns file.bin content as a buffer

Documentation: Using loaders

License

MIT