travel/admin/node_modules/raw-loader
yaosen 242417d45d init... 2024-06-24 11:28:18 +08:00
..
README.md init... 2024-06-24 11:28:18 +08:00
index.js init... 2024-06-24 11:28:18 +08:00
package.json init... 2024-06-24 11:28:18 +08:00

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.

License

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