Skip to content

Commit 726bf68

Browse files
authored
Add exports field with subpaths to firebase-exp/package.json (#4767)
1 parent 3a18640 commit 726bf68

File tree

1 file changed

+94
-0
lines changed

1 file changed

+94
-0
lines changed

packages-exp/firebase-exp/package.json

Lines changed: 94 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,100 @@
2323
"/firebase*.map",
2424
"compat/index.d.ts"
2525
],
26+
"exports": {
27+
"./analytics": {
28+
"node": "./analytics/dist/index.cjs.js",
29+
"default": "./analytics/dist/index.esm.js"
30+
},
31+
"./app": {
32+
"node": "./app/dist/index.cjs.js",
33+
"default": "./app/dist/index.esm.js"
34+
},
35+
"./auth": {
36+
"node": "./auth/dist/index.cjs.js",
37+
"default": "./auth/dist/index.esm.js"
38+
},
39+
"./database": {
40+
"node": "./database/dist/index.cjs.js",
41+
"default": "./database/dist/index.esm.js"
42+
},
43+
"./firestore": {
44+
"node": "./firestore/dist/index.cjs.js",
45+
"default": "./firestore/dist/index.esm.js"
46+
},
47+
"./firestore/lite": {
48+
"node": "./firestore/lite/dist/index.cjs.js",
49+
"default": "./firestore/lite/dist/index.esm.js"
50+
},
51+
"./functions": {
52+
"node": "./functions/dist/index.cjs.js",
53+
"default": "./functions/dist/index.esm.js"
54+
},
55+
"./installations": {
56+
"node": "./installations/dist/index.cjs.js",
57+
"default": "./installations/dist/index.esm.js"
58+
},
59+
"./messaging": {
60+
"node": "./messaging/dist/index.cjs.js",
61+
"default": "./messaging/dist/index.esm.js"
62+
},
63+
"./performance": {
64+
"node": "./performance/dist/index.cjs.js",
65+
"default": "./performance/dist/index.esm.js"
66+
},
67+
"./remote-config": {
68+
"node": "./remote-config/dist/index.cjs.js",
69+
"default": "./remote-config/dist/index.esm.js"
70+
},
71+
"./storage": {
72+
"node": "./storage/dist/index.cjs.js",
73+
"default": "./storage/dist/index.esm.js"
74+
},
75+
"./compat/analytics": {
76+
"node": "./compat/analytics/dist/index.cjs.js",
77+
"default": "./compat/analytics/dist/index.esm.js"
78+
},
79+
"./compat/app": {
80+
"node": "./compat/app/dist/index.cjs.js",
81+
"default": "./compat/app/dist/index.esm.js"
82+
},
83+
"./compat/auth": {
84+
"node": "./compat/auth/dist/index.cjs.js",
85+
"default": "./compat/auth/dist/index.esm.js"
86+
},
87+
"./compat/database": {
88+
"node": "./compat/database/dist/index.cjs.js",
89+
"default": "./compat/database/dist/index.esm.js"
90+
},
91+
"./compat/firestore": {
92+
"node": "./compat/firestore/dist/index.cjs.js",
93+
"default": "./compat/firestore/dist/index.esm.js"
94+
},
95+
"./compat/functions": {
96+
"node": "./compat/functions/dist/index.cjs.js",
97+
"default": "./compat/functions/dist/index.esm.js"
98+
},
99+
"./compat/installations": {
100+
"node": "./compat/installations/dist/index.cjs.js",
101+
"default": "./compat/installations/dist/index.esm.js"
102+
},
103+
"./compat/messaging": {
104+
"node": "./compat/messaging/dist/index.cjs.js",
105+
"default": "./compat/messaging/dist/index.esm.js"
106+
},
107+
"./compat/performance": {
108+
"node": "./compat/performance/dist/index.cjs.js",
109+
"default": "./compat/performance/dist/index.esm.js"
110+
},
111+
"./compat/remote-config": {
112+
"node": "./compat/remote-config/dist/index.cjs.js",
113+
"default": "./compat/remote-config/dist/index.esm.js"
114+
},
115+
"./compat/storage": {
116+
"node": "./compat/storage/dist/index.cjs.js",
117+
"default": "./compat/storage/dist/index.esm.js"
118+
}
119+
},
26120
"repository": {
27121
"type": "git",
28122
"url": "https://github.com/firebase/firebase-js-sdk.git"

0 commit comments

Comments
 (0)