raw-plus-loader
v1.0.0
Published
raw plus loader module for webpack
Downloads
1
Readme
raw plus loader for webpack
Usage
var fileContent = require("raw-plus!./file.txt");
// => returns file.txt content as string
var fileContent = require("raw-plus!./file.tpl");
// => returns file.tpl content as string
var fileContent = require("raw-plus!./file.css");
// => returns file.css 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)