File: //proc/1233/root/home/arjun/projects/buyercall_forms/buyercall/node_modules/po-loader/index.js
/*
MIT License http://www.opensource.org/licenses/mit-license.php
Author David Schissler @dschissler
*/
var po2json = require('po2json');
var utils = require('loader-utils');
module.exports = function(source) {
this.cacheable();
var options = utils.getOptions(this);
if (options === null) {
options = {};
}
// default option
if (!('stringify' in options)) {
options.stringify = true;
}
jsonData = po2json.parse(source, options);
return jsonData;
}