Skip to content

Commit

Permalink
fix: runtime path generation (#1393)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-akait authored Nov 3, 2021
1 parent 61fcc4a commit feafea8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,10 @@ function stringifyRequest(loaderContext, request) {
typeof loaderContext.utils.contextify === "function"
) {
return JSON.stringify(
loaderContext.utils.contextify(loaderContext.context, request)
loaderContext.utils.contextify(
loaderContext.context || loaderContext.rootContext,
request
)
);
}

Expand Down

0 comments on commit feafea8

Please sign in to comment.