YAML loader for webpack. Converts YAML to JSON. You should chain it with json-loader.
npm install yaml-loader
var json = require("json!yaml!./file.yml");
// => returns file.yml as javascript object
YAML loader for webpack. Converts YAML to JSON. You should chain it with json-loader.
npm install yaml-loader
var json = require("json!yaml!./file.yml");
// => returns file.yml as javascript object