Skip to content

Commit c2829cd

Browse files
Use the SDK version from Firebase package.json (#3443)
1 parent eb44f4a commit c2829cd

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

packages/firestore/rollup.config.exp.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ const nodePlugins = [
4444
clean: true,
4545
transformers: removeAssertTransformer
4646
}),
47-
json({ preferConst: true })
47+
json()
4848
];
4949

5050
const browserPlugins = [

packages/firestore/rollup.config.lite.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ const nodePlugins = [
4444
clean: true,
4545
transformers: removeAssertTransformer
4646
}),
47-
json({ preferConst: true })
47+
json()
4848
];
4949

5050
const browserPlugins = [

packages/firestore/src/core/version.ts

+1-3
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,5 @@
1515
* limitations under the License.
1616
*/
1717

18-
import firebase from '@firebase/app';
19-
2018
/** The semver (www.semver.org) version of the SDK. */
21-
export const SDK_VERSION = firebase.SDK_VERSION;
19+
export { version as SDK_VERSION } from '../../../firebase/package.json';

0 commit comments

Comments
 (0)