const moduleExports = require('./index');

const _global = typeof window === 'undefined' ? global : window;
// @ts-ignore
_global.luma = _global.luma || {};

// @ts-ignore
module.exports = Object.assign(_global.luma, moduleExports);

const GLConstants = require('./index').default;

const _global = typeof window === 'undefined' ? global : window;
// @ts-ignore
_global.luma = _global.luma || {};

// @ts-ignore
module.exports = Object.assign(_global.luma, {GL: GLConstants});

Fix constants bundle namespace (#1469)