|
25 | 25 | ],
|
26 | 26 | "exports": {
|
27 | 27 | "./analytics": {
|
28 |
| - "node": "./analytics/dist/index.cjs.js", |
| 28 | + "node": { |
| 29 | + "require": "./analytics/dist/index.cjs.js", |
| 30 | + "import": "./analytics/dist/index.esm.js" |
| 31 | + }, |
29 | 32 | "default": "./analytics/dist/index.esm.js"
|
30 | 33 | },
|
31 | 34 | "./app": {
|
32 |
| - "node": "./app/dist/index.cjs.js", |
| 35 | + "node": { |
| 36 | + "require": "./app/dist/index.cjs.js", |
| 37 | + "import": "./app/dist/index.esm.js" |
| 38 | + }, |
33 | 39 | "default": "./app/dist/index.esm.js"
|
34 | 40 | },
|
35 | 41 | "./app-check": {
|
36 |
| - "node": "./app-check/dist/index.cjs.js", |
| 42 | + "node": { |
| 43 | + "require": "./app-check/dist/index.cjs.js", |
| 44 | + "import": "./app-check/dist/index.esm.js" |
| 45 | + }, |
37 | 46 | "default": "./app-check/dist/index.esm.js"
|
38 | 47 | },
|
39 | 48 | "./auth": {
|
40 |
| - "node": "./auth/dist/index.cjs.js", |
| 49 | + "node": { |
| 50 | + "require": "./auth/dist/index.cjs.js", |
| 51 | + "import": "./auth/dist/index.esm.js" |
| 52 | + }, |
41 | 53 | "default": "./auth/dist/index.esm.js"
|
42 | 54 | },
|
43 | 55 | "./auth/cordova": {
|
44 |
| - "node": "./auth/cordova/dist/index.cjs.js", |
| 56 | + "node": { |
| 57 | + "require": "./auth/cordova/dist/index.cjs.js", |
| 58 | + "import": "./auth/cordova/dist/index.esm.js" |
| 59 | + }, |
45 | 60 | "default": "./auth/cordova/dist/index.esm.js"
|
46 | 61 | },
|
47 | 62 | "./auth/react-native": {
|
48 |
| - "node": "./auth/react-native/dist/index.cjs.js", |
| 63 | + "node": { |
| 64 | + "require": "./auth/react-native/dist/index.cjs.js", |
| 65 | + "import": "./auth/react-native/dist/index.esm.js" |
| 66 | + }, |
49 | 67 | "default": "./auth/react-native/dist/index.esm.js"
|
50 | 68 | },
|
51 | 69 | "./database": {
|
52 |
| - "node": "./database/dist/index.cjs.js", |
| 70 | + "node": { |
| 71 | + "require": "./database/dist/index.cjs.js", |
| 72 | + "import": "./database/dist/index.esm.js" |
| 73 | + }, |
53 | 74 | "default": "./database/dist/index.esm.js"
|
54 | 75 | },
|
55 | 76 | "./firestore": {
|
56 |
| - "node": "./firestore/dist/index.cjs.js", |
| 77 | + "node": { |
| 78 | + "require": "./firestore/dist/index.cjs.js", |
| 79 | + "import": "./firestore/dist/index.esm.js" |
| 80 | + }, |
57 | 81 | "default": "./firestore/dist/index.esm.js"
|
58 | 82 | },
|
59 | 83 | "./firestore/lite": {
|
60 |
| - "node": "./firestore/lite/dist/index.cjs.js", |
| 84 | + "node": { |
| 85 | + "require": "./firestore/lite/dist/index.cjs.js", |
| 86 | + "import": "./firestore/lite/dist/index.esm.js" |
| 87 | + }, |
61 | 88 | "default": "./firestore/lite/dist/index.esm.js"
|
62 | 89 | },
|
63 | 90 | "./functions": {
|
64 |
| - "node": "./functions/dist/index.cjs.js", |
| 91 | + "node": { |
| 92 | + "require": "./functions/dist/index.cjs.js", |
| 93 | + "import": "./functions/dist/index.esm.js" |
| 94 | + }, |
65 | 95 | "default": "./functions/dist/index.esm.js"
|
66 | 96 | },
|
67 | 97 | "./messaging": {
|
68 |
| - "node": "./messaging/dist/index.cjs.js", |
| 98 | + "node": { |
| 99 | + "require": "./messaging/dist/index.cjs.js", |
| 100 | + "import": "./messaging/dist/index.esm.js" |
| 101 | + }, |
69 | 102 | "default": "./messaging/dist/index.esm.js"
|
70 | 103 | },
|
71 | 104 | "./messaging/sw": {
|
72 |
| - "node": "./messaging/sw/dist/index.cjs.js", |
| 105 | + "node": { |
| 106 | + "require": "./messaging/sw/dist/index.cjs.js", |
| 107 | + "import": "./messaging/sw/dist/index.esm.js" |
| 108 | + }, |
73 | 109 | "default": "./messaging/sw/dist/index.esm.js"
|
74 | 110 | },
|
75 | 111 | "./performance": {
|
76 |
| - "node": "./performance/dist/index.cjs.js", |
| 112 | + "node": { |
| 113 | + "require": "./performance/dist/index.cjs.js", |
| 114 | + "import": "./performance/dist/index.esm.js" |
| 115 | + }, |
77 | 116 | "default": "./performance/dist/index.esm.js"
|
78 | 117 | },
|
79 | 118 | "./remote-config": {
|
80 |
| - "node": "./remote-config/dist/index.cjs.js", |
| 119 | + "node": { |
| 120 | + "require": "./remote-config/dist/index.cjs.js", |
| 121 | + "import": "./remote-config/dist/index.esm.js" |
| 122 | + }, |
81 | 123 | "default": "./remote-config/dist/index.esm.js"
|
82 | 124 | },
|
83 | 125 | "./storage": {
|
84 |
| - "node": "./storage/dist/index.cjs.js", |
| 126 | + "node": { |
| 127 | + "require": "./storage/dist/index.cjs.js", |
| 128 | + "import": "./storage/dist/index.esm.js" |
| 129 | + }, |
85 | 130 | "default": "./storage/dist/index.esm.js"
|
86 | 131 | },
|
87 | 132 | "./compat/analytics": {
|
88 |
| - "node": "./compat/analytics/dist/index.cjs.js", |
| 133 | + "node": { |
| 134 | + "require": "./compat/analytics/dist/index.cjs.js", |
| 135 | + "import": "./compat/analytics/dist/index.esm.js" |
| 136 | + }, |
89 | 137 | "default": "./compat/analytics/dist/index.esm.js"
|
90 | 138 | },
|
91 | 139 | "./compat/app": {
|
92 |
| - "node": "./compat/app/dist/index.cjs.js", |
| 140 | + "node": { |
| 141 | + "require": "./compat/app/dist/index.cjs.js", |
| 142 | + "import": "./compat/app/dist/index.esm.js" |
| 143 | + }, |
93 | 144 | "default": "./compat/app/dist/index.esm.js"
|
94 | 145 | },
|
95 | 146 | "./compat/app-check": {
|
96 |
| - "node": "./compat/app-check/dist/index.cjs.js", |
| 147 | + "node": { |
| 148 | + "require": "./compat/app-check/dist/index.cjs.js", |
| 149 | + "import": "./compat/app-check/dist/index.esm.js" |
| 150 | + }, |
97 | 151 | "default": "./compat/app-check/dist/index.esm.js"
|
98 | 152 | },
|
99 | 153 | "./compat/auth": {
|
100 |
| - "node": "./compat/auth/dist/index.cjs.js", |
| 154 | + "node": { |
| 155 | + "require": "./compat/auth/dist/index.cjs.js", |
| 156 | + "import": "./compat/auth/dist/index.esm.js" |
| 157 | + }, |
101 | 158 | "default": "./compat/auth/dist/index.esm.js"
|
102 | 159 | },
|
103 | 160 | "./compat/database": {
|
104 |
| - "node": "./compat/database/dist/index.cjs.js", |
| 161 | + "node": { |
| 162 | + "require": "./compat/database/dist/index.cjs.js", |
| 163 | + "import": "./compat/database/dist/index.esm.js" |
| 164 | + }, |
105 | 165 | "default": "./compat/database/dist/index.esm.js"
|
106 | 166 | },
|
107 | 167 | "./compat/firestore": {
|
108 |
| - "node": "./compat/firestore/dist/index.cjs.js", |
| 168 | + "node": { |
| 169 | + "require": "./compat/firestore/dist/index.cjs.js", |
| 170 | + "import": "./compat/firestore/dist/index.esm.js" |
| 171 | + }, |
109 | 172 | "default": "./compat/firestore/dist/index.esm.js"
|
110 | 173 | },
|
111 | 174 | "./compat/functions": {
|
112 |
| - "node": "./compat/functions/dist/index.cjs.js", |
| 175 | + "node": { |
| 176 | + "require": "./compat/functions/dist/index.cjs.js", |
| 177 | + "import": "./compat/functions/dist/index.esm.js" |
| 178 | + }, |
113 | 179 | "default": "./compat/functions/dist/index.esm.js"
|
114 | 180 | },
|
115 | 181 | "./compat/messaging": {
|
116 |
| - "node": "./compat/messaging/dist/index.cjs.js", |
| 182 | + "node": { |
| 183 | + "require": "./compat/messaging/dist/index.cjs.js", |
| 184 | + "import": "./compat/messaging/dist/index.esm.js" |
| 185 | + }, |
117 | 186 | "default": "./compat/messaging/dist/index.esm.js"
|
118 | 187 | },
|
119 | 188 | "./compat/performance": {
|
120 |
| - "node": "./compat/performance/dist/index.cjs.js", |
| 189 | + "node": { |
| 190 | + "require": "./compat/performance/dist/index.cjs.js", |
| 191 | + "import": "./compat/performance/dist/index.esm.js" |
| 192 | + }, |
121 | 193 | "default": "./compat/performance/dist/index.esm.js"
|
122 | 194 | },
|
123 | 195 | "./compat/remote-config": {
|
124 |
| - "node": "./compat/remote-config/dist/index.cjs.js", |
| 196 | + "node": { |
| 197 | + "require": "./compat/remote-config/dist/index.cjs.js", |
| 198 | + "import": "./compat/remote-config/dist/index.esm.js" |
| 199 | + }, |
125 | 200 | "default": "./compat/remote-config/dist/index.esm.js"
|
126 | 201 | },
|
127 | 202 | "./compat/storage": {
|
128 |
| - "node": "./compat/storage/dist/index.cjs.js", |
| 203 | + "node": { |
| 204 | + "require": "./compat/storage/dist/index.cjs.js", |
| 205 | + "import": "./compat/storage/dist/index.esm.js" |
| 206 | + }, |
129 | 207 | "default": "./compat/storage/dist/index.esm.js"
|
130 | 208 | }
|
131 | 209 | },
|
|
0 commit comments