|
|
пре 2 година | |
|---|---|---|
| .. | ||
| README.md | пре 2 година | |
| index.js | пре 2 година | |
| package.json | пре 2 година | |
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.