var DeviceInformationLoader = function (require, exports, module) {
    var exec = require("cordova/exec");
    
    function DeviceInformation () {}
        
    DeviceInformation.prototype.get = function (successFunc, failFunc) {
        exec(successFunc, failFunc, "DeviceInformation","get",[]);
    };
    
    var deviceInformation = new DeviceInformation();
    module.exports = deviceInformation;
};

DeviceInformationLoader(require, exports, module);

cordova.define("cordova/plugin/DeviceInformation", DeviceInformationLoader);




var exec = require("cordova/exec");

var DeviceInformationLoader = function (require, exports, module) {

    function DeviceInformation () {}

    DeviceInformation.prototype.get = function (successFunc, failFunc) {
        exec(successFunc, failFunc, "DeviceInformation","get",[]);
    };

    var deviceInformation = new DeviceInformation();
    module.exports = deviceInformation;
};

DeviceInformationLoader(require, exports, module);

cordova.define("cordova/plugin/DeviceInformation", DeviceInformationLoader);

Move require outside of function call. Maybe this will help.
Move require outside of function call. Maybe this will help.
