File tree Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change 15
15
* limitations under the License.
16
16
*/
17
17
18
- // TODO(mrschmidt): Once imported into Google3, fix
19
- // third_party/javascript/firebase/src/packages/firestore/tools/console.build.js
20
-
21
18
export { Firestore , FirestoreDatabase } from './src/api/database' ;
22
19
export {
23
20
CollectionReference ,
Original file line number Diff line number Diff line change 1
1
/**
2
2
* @license
3
- * Copyright 2019 Google Inc.
3
+ * Copyright 2019 Google LLC
4
4
*
5
5
* Licensed under the Apache License, Version 2.0 (the "License");
6
6
* you may not use this file except in compliance with the License.
22
22
const rollup = require ( 'rollup' ) ;
23
23
const typescriptPlugin = require ( 'rollup-plugin-typescript2' ) ;
24
24
const typescript = require ( 'typescript' ) ;
25
+ const json = require ( 'rollup-plugin-json' ) ;
26
+ const alias = require ( '@rollup/plugin-alias' ) ;
25
27
const resolve = require ( 'rollup-plugin-node-resolve' ) ;
26
28
const { uglify } = require ( 'rollup-plugin-uglify' ) ;
27
29
const fs = require ( 'fs' ) ;
28
30
const util = require ( 'util' ) ;
29
31
const fs_writeFile = util . promisify ( fs . writeFile ) ;
30
32
33
+ const rollupUtil = require ( '../rollup.shared' ) ;
34
+
31
35
const plugins = [
36
+ alias ( rollupUtil . generateAliasConfig ( 'browser' ) ) ,
32
37
resolve ( ) ,
33
38
typescriptPlugin ( {
34
39
typescript
35
40
} ) ,
41
+ json ( ) ,
36
42
uglify ( {
37
43
output : {
38
44
ascii_only : true // escape unicode chars
You can’t perform that action at this time.
0 commit comments