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 d2bf6d7 commit bf65146Copy full SHA for bf65146
packages/firestore/rollup.config.js
@@ -43,10 +43,12 @@ function importMetaUrlPolyfillPlugin(filename) {
43
resolveImportMeta(property, { moduleId }) {
44
if (property === 'url') {
45
// copied from rollup output
46
- return "(typeof document === 'undefined' ? new (require('url').URL)"
47
- + "('file:' + __filename).href : (document.currentScript && "
48
- + `document.currentScript.src || new URL('${filename}', `
49
- + "document.baseURI).href))";
+ return (
+ "(typeof document === 'undefined' ? new (require('url').URL)" +
+ "('file:' + __filename).href : (document.currentScript && " +
+ `document.currentScript.src || new URL('${filename}', ` +
50
+ 'document.baseURI).href))'
51
+ );
52
}
53
return null;
54
0 commit comments