Skip to content

Commit 8e81a47

Browse files
merlinnotFeiyang1
authored andcommitted
Fix a typo in a build file of the auth package (#1635)
1 parent 46e3280 commit 8e81a47

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/auth/gulpfile.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ const OPTIMIZATION_LEVEL = 'ADVANCED_OPTIMIZATIONS';
3030
// For minified builds, wrap the output so we avoid leaking global variables.
3131
const CJS_WRAPPER_PREFIX =
3232
`(function() {var firebase = require('@firebase/app').default;`;
33-
const EMS_WRAPPER_PREFIX = `import firebase from '@firebase/app';(function() {`;
33+
const ESM_WRAPPER_PREFIX = `import firebase from '@firebase/app';(function() {`;
3434
const WRAPPER_SUFFIX =
3535
`}).apply(typeof global !== 'undefined' ? ` +
3636
`global : typeof self !== 'undefined' ? ` +
@@ -91,7 +91,7 @@ const cjsBuild = createBuildTask('auth.js', CJS_WRAPPER_PREFIX, WRAPPER_SUFFIX);
9191
gulp.task('cjs', cjsBuild);
9292

9393
// esm build
94-
const esmBuild = createBuildTask('auth.esm.js', EMS_WRAPPER_PREFIX, WRAPPER_SUFFIX);
94+
const esmBuild = createBuildTask('auth.esm.js', ESM_WRAPPER_PREFIX, WRAPPER_SUFFIX);
9595
gulp.task('esm', esmBuild);
9696

9797
// build without wrapper

0 commit comments

Comments
 (0)