File tree Expand file tree Collapse file tree 3 files changed +4
-6
lines changed Expand file tree Collapse file tree 3 files changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -42,14 +42,12 @@ const setup = (auth: Auth) => {
42
42
}
43
43
44
44
export function getAuth ( app ?: FirebaseApp ) {
45
- console . log ( 'getFirebaseAuth' ) ;
46
45
const auth = getFirebaseAuth ( app ) ;
47
46
setup ( auth ) ;
48
47
return auth ;
49
48
}
50
49
51
50
export function initializeAuth ( app : FirebaseApp , deps ?: Dependencies ) {
52
- console . log ( 'initializeFirebaseAuth' ) ;
53
51
const auth = initializeFirebaseAuth ( app , deps ) ;
54
52
setup ( auth ) ;
55
53
return auth ;
Original file line number Diff line number Diff line change @@ -11,18 +11,18 @@ const LOCAL_NODE_MODULES = [
11
11
'next/dist/trace' ,
12
12
'nuxt' ,
13
13
'@nuxt/kit/dist/index.mjs' ,
14
- 'webpack'
14
+ 'webpack' ,
15
15
] ;
16
16
17
17
const ES_MODULES = [
18
- [ '@nuxt/kit' , 'dist/index.mjs' ] ,
18
+ [ '@nuxt/kit' , 'dist/index.mjs' ] ,
19
19
] ;
20
20
21
21
const main = async ( ) => {
22
22
await replaceInFile ( {
23
23
files : 'dist/**/*' ,
24
24
from : ES_MODULES . map ( ( [ path ] ) => `Promise.resolve().then(() => __importStar(require('${ path } ')))` ) ,
25
- to : ES_MODULES . map ( ( [ path , file ] ) => `import('${ path } /${ file } ')` ) ,
25
+ to : ES_MODULES . map ( ( [ path , file ] ) => `import('${ path } ${ file ? ` /${ file } ` : '' } ')` ) ,
26
26
} ) ;
27
27
28
28
await replaceInFile ( {
Original file line number Diff line number Diff line change @@ -18,6 +18,6 @@ npm --no-git-tag-version --allow-same-version -f version $OVERRIDE_VERSION
18
18
19
19
npm run build &&
20
20
echo " npm --no-git-tag-version --allow-same-version -f version $OVERRIDE_VERSION &&
21
- sed 's/const FIREBASE_FRAMEWORKS_VERSION =.*/const FIREBASE_FRAMEWORKS_VERSION = \" $OVERRIDE_VERSION \" /' ./dist/index .js &&
21
+ sed 's/exports. FIREBASE_FRAMEWORKS_VERSION =.*/exports. FIREBASE_FRAMEWORKS_VERSION = \" $OVERRIDE_VERSION \" /' ./dist/constants .js &&
22
22
npm publish . --tag $NPM_TAG " > ./dist/publish.sh &&
23
23
chmod +x ./dist/publish.sh
You can’t perform that action at this time.
0 commit comments