|
hace 3 años | |
---|---|---|
.. | ||
README.md | hace 3 años | |
index.js | hace 3 años | |
package.json | hace 3 años |
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.