diff --git a/build-lib/lib.js b/build-lib/lib.js
index <HASH>..<HASH> 100644
--- a/build-lib/lib.js
+++ b/build-lib/lib.js
@@ -36,9 +36,9 @@ module.exports = function (pathConfig, env) {
     inputFiles: ['**/*.js'],
     footer: `
 window.ShopifyBuy = require('shopify-buy/shopify').default;
-}());`,
+})();`,
     outputFile: `${pkg.name}.globals.js`,
-    sourceMapConfig: { enabled: (env !== 'production') }
+    sourceMapConfig: { enabled: false }
   });
 
   if (env === 'production') {
Disable source maps for globals all the time.

These seem to be consistently appended to globals file, in dev and prod