Spaces:
Sleeping
Sleeping
pythonic-rag-FastAPIReact / frontend /node_modules /@pmmmwh /react-refresh-webpack-plugin /client /ReactRefreshEntry.js
Download frontend/node_modules/@pmmmwh/react-refresh-webpack-plugin/client/ReactRefreshEntry.js from sepidnes/pythonic-rag-FastAPIReact: direct link, hf CLI and curl.
- Browser
- Download file 856 Bytes
-
https://huggingface.co/spaces/sepidnes/pythonic-rag-FastAPIReact/resolve/c9f908872ebbec3c4fa1392419c0f6cd3750ddb3/frontend/node_modules/%40pmmmwh/react-refresh-webpack-plugin/client/ReactRefreshEntry.js
- Command line
-
hf download hf://spaces/sepidnes/pythonic-rag-FastAPIReact@c9f908872ebbec3c4fa1392419c0f6cd3750ddb3/frontend/node_modules/@pmmmwh/react-refresh-webpack-plugin/client/ReactRefreshEntry.js
-
curl -L -o ReactRefreshEntry.js https://huggingface.co/spaces/sepidnes/pythonic-rag-FastAPIReact/resolve/c9f908872ebbec3c4fa1392419c0f6cd3750ddb3/frontend/node_modules/%40pmmmwh/react-refresh-webpack-plugin/client/ReactRefreshEntry.js
856 Bytes
| /* global __react_refresh_library__ */ | |
| const safeThis = require('core-js-pure/features/global-this'); | |
| const RefreshRuntime = require('react-refresh/runtime'); | |
| if (process.env.NODE_ENV !== 'production') { | |
| if (typeof safeThis !== 'undefined') { | |
| var $RefreshInjected$ = '__reactRefreshInjected'; | |
| // Namespace the injected flag (if necessary) for monorepo compatibility | |
| if (typeof __react_refresh_library__ !== 'undefined' && __react_refresh_library__) { | |
| $RefreshInjected$ += '_' + __react_refresh_library__; | |
| } | |
| // Only inject the runtime if it hasn't been injected | |
| if (!safeThis[$RefreshInjected$]) { | |
| // Inject refresh runtime into global scope | |
| RefreshRuntime.injectIntoGlobalHook(safeThis); | |
| // Mark the runtime as injected to prevent double-injection | |
| safeThis[$RefreshInjected$] = true; | |
| } | |
| } | |
| } | |