/**
 * External dependencies
 */

/**
 * Internal dependencies
 */
import SiteKitRegistry from 'assets/js/googlesitekit/data';

if ( typeof global.googlesitekit === 'undefined' ) {
	global.googlesitekit = {};
}

if ( typeof global.googlesitekit.data === 'undefined' ) {
	global.googlesitekit.data = SiteKitRegistry;
}

// This is only exported for Jest and is not used in production.
export default SiteKitRegistry;

/**
 * External dependencies
 */

/**
 * Internal dependencies
 */
import Data from 'assets/js/googlesitekit/data';

if ( typeof global.googlesitekit === 'undefined' ) {
	global.googlesitekit = {};
}

if ( typeof global.googlesitekit.data === 'undefined' ) {
	global.googlesitekit.data = Data;
}

// This is only exported for Jest and is not used in production.
export default Data;

Update variable name for consistency.
Update variable name for consistency.
