ed5de306d5ca83e6d892e57845c836d7.json
1.7 KB
{"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":["C:/Users/kkwan_000/Desktop/git/2017110269/minsung/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"}