Skip to content

Commit d7a7f0a

Browse files
authored
wrap component with try catch outside of iife for old browser compatibility (#1239)
1 parent 3dd9bcf commit d7a7f0a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/firebase/rollup.config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,8 +117,8 @@ const componentBuilds = components
117117
globals: {
118118
'@firebase/app': GLOBAL_NAME
119119
},
120-
intro: `try {`,
121-
outro: `} catch(err) {
120+
banner: `try {`,
121+
footer: `} catch(err) {
122122
console.error(err);
123123
throw new Error(
124124
'Cannot instantiate firebase-${component} - ' +

0 commit comments

Comments
 (0)