We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3fcfdcd commit 339bb94Copy full SHA for 339bb94
package.json
@@ -27,7 +27,7 @@
27
"geolocation"
28
],
29
"main": "dist/index.cjs.js",
30
- "browser": "dist/geofire.js",
+ "browser": "dist/geofire.min.js",
31
"module": "dist/index.esm.js",
32
"typings": "dist/index.d.ts",
33
"files": [
rollup.config.js
@@ -36,6 +36,15 @@ const completeBuilds = [{
36
},
37
plugins: [...plugins, uglify()]
38
39
+ {
40
+ input: 'src/index.ts',
41
+ output: {
42
+ file: 'dist/geofire.js',
43
+ format: 'umd',
44
+ name: GLOBAL_NAME
45
+ },
46
+ plugins: [...plugins]
47
+ }
48
];
49
50
export default [...completeBuilds];
0 commit comments