diff --git a/gulpfile.js b/gulpfile.js index 65c2f574..081d4807 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -78,7 +78,7 @@ const CJS_DEPS = [ const ESM_IMPORT = ESM_DEPS.join(';') + ';'; // Export firebaseui.auth module. -const ESM_EXPORT = 'const auth = firebaseui.auth;' + +const ESM_EXPORT = 'var auth = firebaseui.auth;' + 'export { auth } ;'; // Adds the cjs module requirement and exports firebaseui.