/*
 *
 * This is used to build the bundle with browserify.
 *
 * The bundle is used by people who doesn't use browserify.
 * Those who use browserify will install with npm and require the module,
 * the package.json file points to index.js.
 */

import Auth0Lock from './classic';
import Auth0LockPasswordless from './passwordless';

global.window.Auth0Lock = Auth0Lock;
global.window.Auth0LockPasswordless = Auth0LockPasswordless;
//use amd or just throught to window object.
if (typeof global.window.define == 'function' && global.window.define.amd) {
  global.window.define('auth0Lock', function () { return Auth0Lock; });
  global.window.define('auth0LockPasswordless', function () { return Auth0LockPasswordless; });
} else if (global.window) {
  global.window.Auth0Lock = Auth0Lock;
  global.window.Auth0LockPasswordless = Auth0LockPasswordless;
}

@@ -274,16 +274,19 @@
 assic';%0A
+// 
 import A
@@ -367,16 +367,19 @@
 h0Lock;%0A
+// 
 global.w
@@ -625,16 +625,18 @@
 ck; %7D);%0A
+//
   global
@@ -790,16 +790,18 @@
 h0Lock;%0A
+//
   global

Exclude passwordless stuff from build