Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

webpack-global-object-x

Xotic7502.6kMIT1.0.1

For use with webpack globalObject.

webpack, globalObject, module, javascript, nodejs, browser

readme

Travis status Dependency status devDependency status npm version bettercodehub score Coverage Status

webpack-global-object-x

For use with webpack globalObject.

Example

var globalObject = require('webpack-global-object-x');
module.exports = {
  output: {
    globalObject: '(' + globalObject.toString() + '())',
    library: 'something',
    libraryTarget: 'umd'
  }
};