|
|
il y a 2 mois | |
|---|---|---|
| .. | ||
| README.md | il y a 2 mois | |
| index.js | il y a 2 mois | |
| package.json | il y a 2 mois | |
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.