From 6525220b5dccdac769692592b79f392aef08ed1b Mon Sep 17 00:00:00 2001 From: simonness Date: Mon, 30 Nov 2020 09:52:24 +0100 Subject: [PATCH] Support Safari 9. (#701) Replaces usage of `const` with `var` in the ESM export. --- gulpfile.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.