For use with webpack globalObject.
npm install webpack-global-object-x href="https://travis-ci.org/Xotic750/webpack-global-object-x"
title="Travis status"> src="https://travis-ci.org/Xotic750/webpack-global-object-x.svg?branch=master"
alt="Travis status" height="18">
href="https://david-dm.org/Xotic750/webpack-global-object-x"
title="Dependency status"> alt="Dependency status" height="18"/>
href="https://david-dm.org/Xotic750/webpack-global-object-x?type=dev"
title="devDependency status"> alt="devDependency status" height="18"/>
href="https://badge.fury.io/js/webpack-global-object-x"
title="npm version"> alt="npm version" height="18">
href="https://bettercodehub.com/results/Xotic750/webpack-global-object-x"
title="bettercodehub score"> alt="bettercodehub score" height="18">
href="https://coveralls.io/github/Xotic750/webpack-global-object-x?branch=master"
title="Coverage Status"> alt="Coverage Status" height="18">
For use with webpack globalObject.
Example
``js``
var globalObject = require('webpack-global-object-x');
module.exports = {
output: {
globalObject: '(' + globalObject.toString() + '())',
library: 'something',
libraryTarget: 'umd'
}
};