242417d45d | ||
---|---|---|
.. | ||
README.md | ||
index.js | ||
package.json |
README.md
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.