raw-loader

raw loader module for webpack

npm install raw-loader
20 downloads in the last day
110 downloads in the last week
334 downloads in the last month

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)

npm loves you