val loader for webpack
Don't forget to polyfill
require if you want to use it in node.
The excution of file.js has polyfill already applied.
This loader is also useful if you want to provide data for another loader: