UNPKG

320 BMarkdownView Raw
1# raw loader for webpack
2
3## Usage
4
5``` javascript
6var fileContent = require("raw!./file.txt");
7// => returns file.txt content as string
8```
9
10Don't forget to polyfill `require` if you want to use it in node.
11See `webpack` documentation.
12
13## License
14
15MIT (http://www.opensource.org/licenses/mit-license.php)
\No newline at end of file