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 9c989f6 commit 3986346Copy full SHA for 3986346
packages/firebase-core/index.android.ts
@@ -1,7 +1,7 @@
1
import { IFirebaseOptions, FirebaseConfig } from './common';
2
import { knownFolders, Utils, File } from '@nativescript/core';
3
export * from './utils';
4
-
+declare const __non_webpack_require__;
5
export class FirebaseError extends Error {
6
#native: java.lang.Exception;
7
static fromNative(native: java.lang.Exception, message?: string) {
@@ -270,7 +270,7 @@ export class Firebase {
270
if (path.startsWith('~/')) {
271
path = knownFolders.currentApp().path + '/' + path.replace('~/', '');
272
}
273
- json = require(path);
+ json = __non_webpack_require__(path);
274
275
276
0 commit comments