Skip to content

Commit f511374

Browse files
committed
[AUTOMATED]: Prettier Code Styling
1 parent 080858c commit f511374

File tree

1 file changed

+13
-16
lines changed

1 file changed

+13
-16
lines changed

packages/firebase/rollup.config.js

Lines changed: 13 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,7 @@ import commonjs from 'rollup-plugin-commonjs';
1919
import uglify from 'rollup-plugin-uglify';
2020
import pkg from './package.json';
2121

22-
const plugins = [
23-
resolve(),
24-
commonjs(),
25-
uglify()
26-
];
22+
const plugins = [resolve(), commonjs(), uglify()];
2723

2824
const GLOBAL_NAME = 'firebase';
2925

@@ -37,7 +33,7 @@ const appConfig = {
3733
format: 'umd',
3834
name: GLOBAL_NAME
3935
},
40-
plugins,
36+
plugins
4137
};
4238

4339
/**
@@ -56,7 +52,14 @@ const firebaseJsConfig = {
5652
/**
5753
* All of these configs are built to extend the top two configs
5854
*/
59-
const components = ['auth', 'database', 'firestore', 'functions', 'messaging', 'storage'];
55+
const components = [
56+
'auth',
57+
'database',
58+
'firestore',
59+
'functions',
60+
'messaging',
61+
'storage'
62+
];
6063

6164
const componentsConfig = components.map(component => ({
6265
input: `${component}/index.js`,
@@ -67,16 +70,10 @@ const componentsConfig = components.map(component => ({
6770
name: GLOBAL_NAME,
6871
globals: {
6972
'@firebase/app': GLOBAL_NAME
70-
},
73+
}
7174
},
7275
plugins,
73-
external: [
74-
'@firebase/app',
75-
]
76+
external: ['@firebase/app']
7677
}));
7778

78-
export default [
79-
appConfig,
80-
...componentsConfig,
81-
firebaseJsConfig
82-
];
79+
export default [appConfig, ...componentsConfig, firebaseJsConfig];

0 commit comments

Comments
 (0)