old_contents: 
  var originalGoogExportPath = goog.exportPath_;
  
  goog.exportPath_ = function(name, opt_object, opt_objectToExportTo) {
    // must keep the export to global for things like (goog/exportSymbol js/React ...)
    originalGoogExportPath(name, opt_object, opt_objectToExportTo);
    // goog.module.declareLegacyNamespace() otherwise only exports to global but we need it on the $CLJS object
    if (goog.isInModuleLoader_()) {
      originalGoogExportPath(name, opt_object, $CLJS);
    }
  }
  
  goog.provide = function(name) {
    return originalGoogExportPath(name, undefined, $CLJS);
  };
  
  goog.require = function(name) {
    return goog.getObjectByName(name, $CLJS);
  };
  
  // goog.define exports to global by default
  // we need it on CLJS_ENV
  goog.define = function(name, defaultValue) {
    var value = defaultValue;
  
    if (Object.prototype.hasOwnProperty.call(CLOSURE_DEFINES, name)) {
      value = CLOSURE_DEFINES[name];
    }
  
    originalGoogExportPath(name, value, $CLJS);
  };
  
new_contents: 
  var originalGoogExportPath = goog.exportPath_;
  
  goog.exportPath_ = function(name, opt_object, opt_objectToExportTo) {
    // must keep the export to global for things like (goog/exportSymbol js/React ...)
    originalGoogExportPath(name, opt_object, opt_objectToExportTo);
    // goog.module.declareLegacyNamespace() otherwise only exports to global but we need it on the $CLJS object
    if (goog.isInModuleLoader_()) {
      originalGoogExportPath(name, opt_object, $CLJS);
    }
  }
  
  goog.provide = function(name) {
    return originalGoogExportPath(name, undefined, $CLJS);
  };
  
  goog.require = function(name) {
    return goog.getObjectByName(name, $CLJS);
  };
  
subject: remove goog.define override for :npm-module