silverwolf-x/project / packages /next /src /build /webpack /stringify-request.ts
silverwolf-x's picture
download
raw
282 Bytes
import type webpack from 'webpack'
export function stringifyRequest(
loaderContext: webpack.LoaderContext<any>,
request: string
) {
return JSON.stringify(
loaderContext.utils.contextify(
loaderContext.context || loaderContext.rootContext,
request
)
)
}

Xet Storage Details

Size:
282 Bytes
·
Xet hash:
3bd3a9d5bbd930b779e87a204b5ba2cd1943245f5a1488758760c5964a99b8fd

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.