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