Skip to content

Commit

Permalink
Merge pull request #24 from FirebaseExtended/sideEffectsFalse
Browse files Browse the repository at this point in the history
Allow entry-points to be tree-shaken by marking sideEffects false
  • Loading branch information
jamesdaniels authored Aug 2, 2021
2 parents 22ab654 + 399c429 commit 34d42e4
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 5 deletions.
3 changes: 2 additions & 1 deletion auth/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@
"browser": "../dist/auth/index.esm.js",
"main": "../dist/auth/index.cjs.js",
"module": "../dist/auth/index.esm.js",
"typings": "../dist/auth/index.d.ts"
"typings": "../dist/auth/index.d.ts",
"sideEffects": false
}
3 changes: 2 additions & 1 deletion database/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@
"browser": "../dist/database/index.esm.js",
"main": "../dist/database/index.cjs.js",
"module": "../dist/database/index.esm.js",
"typings": "../dist/database/index.d.ts"
"typings": "../dist/database/index.d.ts",
"sideEffects": false
}
3 changes: 2 additions & 1 deletion firestore/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@
"browser": "../dist/firestore/index.esm.js",
"main": "../dist/firestore/index.cjs.js",
"module": "../dist/firestore/index.esm.js",
"typings": "../dist/firestore/index.d.ts"
"typings": "../dist/firestore/index.d.ts",
"sideEffects": false
}
3 changes: 2 additions & 1 deletion functions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@
"browser": "../dist/functions/index.esm.js",
"main": "../dist/functions/index.cjs.js",
"module": "../dist/functions/index.esm.js",
"typings": "../dist/functions/index.d.ts"
"typings": "../dist/functions/index.d.ts",
"sideEffects": false
}
3 changes: 2 additions & 1 deletion storage/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@
"browser": "../dist/storage/index.esm.js",
"main": "../dist/storage/index.cjs.js",
"module": "../dist/storage/index.esm.js",
"typings": "../dist/storage/index.d.ts"
"typings": "../dist/storage/index.d.ts",
"sideEffects": false
}

0 comments on commit 34d42e4

Please sign in to comment.