MCPcopy
hub / github.com/vercel/next.js / loader.ts

File loader.ts

packages/react-refresh-utils/loader.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import type { LoaderDefinition } from 'webpack'
2import RefreshModuleRuntime from './internal/ReactRefreshModule.runtime'
3
4let refreshModuleRuntime = RefreshModuleRuntime.toString()

Callers

nothing calls this directly

Calls 4

replaceMethod · 0.65
toStringMethod · 0.45
sliceMethod · 0.45
indexOfMethod · 0.45

Tested by

no test coverage detected