|
3 | 3 | exports[`use svgr 1`] = ` |
4 | 4 | "import * as __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__ from "react/jsx-runtime"; |
5 | 5 | import "react"; |
6 | | -var __webpack_require__ = {}; |
7 | | -(()=>{ |
8 | | - __webpack_require__.g = function() { |
9 | | - if ('object' == typeof globalThis) return globalThis; |
10 | | - try { |
11 | | - return this || new Function('return this')(); |
12 | | - } catch (e) { |
13 | | - if ('object' == typeof window) return window; |
14 | | - } |
15 | | - }(); |
16 | | -})(); |
17 | | -(()=>{ |
18 | | - var scriptUrl; |
19 | | - if ("string" == typeof import.meta.url) scriptUrl = import.meta.url; |
20 | | - if (!scriptUrl) throw new Error("Automatic publicPath is not supported in this browser"); |
21 | | - scriptUrl = scriptUrl.replace(/#.*$/, "").replace(/\\?.*$/, "").replace(/\\/[^\\/]+$/, "/"); |
22 | | - __webpack_require__.p = scriptUrl; |
23 | | -})(); |
24 | 6 | const SvgLogo = (props)=>/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)("svg", { |
25 | 7 | xmlns: "http://www.w3.org/2000/svg", |
26 | 8 | viewBox: "0 0 841.9 595.3", |
@@ -73,35 +55,6 @@ console.log(logo); |
73 | 55 |
|
74 | 56 | exports[`use svgr 2`] = ` |
75 | 57 | ""use strict"; |
76 | | -var __webpack_require__ = {}; |
77 | | -(()=>{ |
78 | | - __webpack_require__.g = function() { |
79 | | - if ('object' == typeof globalThis) return globalThis; |
80 | | - try { |
81 | | - return this || new Function('return this')(); |
82 | | - } catch (e) { |
83 | | - if ('object' == typeof window) return window; |
84 | | - } |
85 | | - }(); |
86 | | -})(); |
87 | | -(()=>{ |
88 | | - var scriptUrl; |
89 | | - if (__webpack_require__.g.importScripts) scriptUrl = __webpack_require__.g.location + ""; |
90 | | - var document = __webpack_require__.g.document; |
91 | | - if (!scriptUrl && document) { |
92 | | - if (document.currentScript && 'SCRIPT' === document.currentScript.tagName.toUpperCase()) scriptUrl = document.currentScript.src; |
93 | | - if (!scriptUrl) { |
94 | | - var scripts = document.getElementsByTagName("script"); |
95 | | - if (scripts.length) { |
96 | | - var i = scripts.length - 1; |
97 | | - while(i > -1 && (!scriptUrl || !/^http(s?):/.test(scriptUrl)))scriptUrl = scripts[i--].src; |
98 | | - } |
99 | | - } |
100 | | - } |
101 | | - if (!scriptUrl) throw new Error("Automatic publicPath is not supported in this browser"); |
102 | | - scriptUrl = scriptUrl.replace(/#.*$/, "").replace(/\\?.*$/, "").replace(/\\/[^\\/]+$/, "/"); |
103 | | - __webpack_require__.p = scriptUrl; |
104 | | -})(); |
105 | 58 | var __webpack_exports__ = {}; |
106 | 59 | const jsx_runtime_namespaceObject = require("react/jsx-runtime"); |
107 | 60 | require("react"); |
|
0 commit comments