(context, source, associatedObjectForCache)
| 637 | * @returns {string} new source path |
| 638 | */ |
| 639 | const contextifySourceUrl = (context, source, associatedObjectForCache) => { |
| 640 | if (source.startsWith("webpack://")) return source; |
| 641 | return `webpack://${makePathsRelative( |
| 642 | context, |
| 643 | source, |
| 644 | associatedObjectForCache |
| 645 | )}`; |
| 646 | }; |
| 647 | |
| 648 | /** |
| 649 | * @param {string} context absolute context path |
no outgoing calls
no test coverage detected