mirror of
https://github.com/idanoo/GoScrobble.git
synced 2024-11-25 09:55:15 +00:00
1 line
1.7 KiB
JSON
1 line
1.7 KiB
JSON
{"ast":null,"code":"const safeThis = require('./utils/safeThis');\n\nif (process.env.NODE_ENV !== 'production' && typeof safeThis !== 'undefined') {\n // Only inject the runtime if it hasn't been injected\n if (!safeThis.__reactRefreshInjected) {\n const RefreshRuntime = require('react-refresh/runtime'); // Inject refresh runtime into global scope\n\n\n RefreshRuntime.injectIntoGlobalHook(safeThis); // Mark the runtime as injected to prevent double-injection\n\n safeThis.__reactRefreshInjected = true;\n }\n}","map":{"version":3,"sources":["/app/node_modules/@pmmmwh/react-refresh-webpack-plugin/client/ReactRefreshEntry.js"],"names":["safeThis","require","process","env","NODE_ENV","__reactRefreshInjected","RefreshRuntime","injectIntoGlobalHook"],"mappings":"AAAA,MAAMA,QAAQ,GAAGC,OAAO,CAAC,kBAAD,CAAxB;;AAEA,IAAIC,OAAO,CAACC,GAAR,CAAYC,QAAZ,KAAyB,YAAzB,IAAyC,OAAOJ,QAAP,KAAoB,WAAjE,EAA8E;AAC5E;AACA,MAAI,CAACA,QAAQ,CAACK,sBAAd,EAAsC;AACpC,UAAMC,cAAc,GAAGL,OAAO,CAAC,uBAAD,CAA9B,CADoC,CAEpC;;;AACAK,IAAAA,cAAc,CAACC,oBAAf,CAAoCP,QAApC,EAHoC,CAKpC;;AACAA,IAAAA,QAAQ,CAACK,sBAAT,GAAkC,IAAlC;AACD;AACF","sourcesContent":["const safeThis = require('./utils/safeThis');\n\nif (process.env.NODE_ENV !== 'production' && typeof safeThis !== 'undefined') {\n // Only inject the runtime if it hasn't been injected\n if (!safeThis.__reactRefreshInjected) {\n const RefreshRuntime = require('react-refresh/runtime');\n // Inject refresh runtime into global scope\n RefreshRuntime.injectIntoGlobalHook(safeThis);\n\n // Mark the runtime as injected to prevent double-injection\n safeThis.__reactRefreshInjected = true;\n }\n}\n"]},"metadata":{},"sourceType":"script"} |