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