mixpanel-browser 2.49.0 → 2.50.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/build.sh CHANGED
@@ -7,8 +7,9 @@ if [ ! -z "$DIST" ]; then
7
7
  export FULL=1
8
8
  fi
9
9
 
10
- echo 'Building main bundle'
10
+ echo 'Building main bundles'
11
11
  npx rollup -i src/loaders/loader-globals.js -f iife -o build/mixpanel.globals.js -n mixpanel -c rollup.config.js
12
+ npx rollup -i src/recorder/index.js -f iife -n mixpanel -c src/recorder/rollup.config.js
12
13
  ln -sf mixpanel.globals.js build/mixpanel.js
13
14
 
14
15
  if [ ! -z "$FULL" ]; then
@@ -9,7 +9,7 @@ var MIXPANEL_LIB_URL = '//cdn.mxpnl.com/libs/mixpanel-2-latest.min.js';
9
9
  (function(document, mixpanel) {
10
10
  // Only stub out if this is the first time running the snippet.
11
11
  if (!mixpanel['__SV']) {
12
- var script, first_script, gen_fn, functions, i, lib_name = "mixpanel";
12
+ var script, first_script, functions, i, lib_name = "mixpanel";
13
13
  window[lib_name] = mixpanel;
14
14
 
15
15
  mixpanel['_i'] = [];
@@ -244,4 +244,4 @@ var MIXPANEL_LIB_URL = '//cdn.mxpnl.com/libs/mixpanel-2-latest.min.js';
244
244
  return mp.push.apply(mp, [[cmd].concat(args)]);
245
245
 
246
246
  };
247
- })(window, '_mixpanel');
247
+ })(window, '_mixpanel');