Skip to content

Commit feafea8

Browse files
fix: runtime path generation (#1393)
1 parent 61fcc4a commit feafea8

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/utils.js

+4-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,10 @@ function stringifyRequest(loaderContext, request) {
2929
typeof loaderContext.utils.contextify === "function"
3030
) {
3131
return JSON.stringify(
32-
loaderContext.utils.contextify(loaderContext.context, request)
32+
loaderContext.utils.contextify(
33+
loaderContext.context || loaderContext.rootContext,
34+
request
35+
)
3336
);
3437
}
3538

0 commit comments

Comments
 (0)