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 641203d commit df72b14Copy full SHA for df72b14
packages/util/postinstall.js
@@ -125,12 +125,16 @@ try {
125
`'use strict';
126
Object.defineProperty(exports, '__esModule', { value: true });
127
exports.postinstallDefaults = ${JSON.stringify(defaults)};`
128
- ),
+ ).catch(() => {
129
+ console.warn('Unable to save FIREBASE_WEBAPP_CONFIG to CJS entry.');
130
+ }),
131
writeFile(
132
join(__dirname, 'dist', 'autoinit_env.mjs'),
133
`const postinstallDefaults = ${JSON.stringify(defaults)};
134
export { postinstallDefaults };`
- )
135
136
+ console.warn('Unable to save FIREBASE_WEBAPP_CONFIG to ESM entry.');
137
+ })
138
]);
139
140
process.exit(0);
0 commit comments