Skip to content
This repository was archived by the owner on Jul 9, 2025. It is now read-only.
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@

``` javascript
var a = require("val!./file.js");
// => excute file.js while compiling and
// => execute file.js while compiling and
// take the result as javascript code for including
```

Don't forget to polyfill `require` if you want to use it in node.
See `webpack` documentation.

The excution of file.js has polyfill already applied.
The execution of file.js has polyfill already applied.

This loader is also useful if you want to provide data for another loader:

Expand All @@ -21,4 +21,4 @@ require("css!val!./generateCss.js");

## License

MIT (http://www.opensource.org/licenses/mit-license.php)
MIT (http://www.opensource.org/licenses/mit-license.php)