raw-loader

0.1.5 • Public • Published

raw loader for webpack

Usage

var fileContent = require("raw!./file.txt");
// => returns file.txt content as string

Don't forget to polyfill require if you want to use it in node. See webpack documentation.

License

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

Readme

Keywords

Package Sidebar

Install

npm i raw-loader@0.1.5

Version

0.1.5

License

MIT

Last publish

Collaborators

  • evilebottnawi
  • sokra
  • jhnns
  • michael-ciniawsky
  • d3viant0ne
  • ericclemmons
  • thelarkinn