(loaderContext, request)
| 13 | const WEBPACK_IGNORE_COMMENT_REGEXP = /webpackIgnore:(\s+)?(true|false)/; |
| 14 | |
| 15 | function stringifyRequest(loaderContext, request) { |
| 16 | return JSON.stringify( |
| 17 | loaderContext.utils.contextify( |
| 18 | loaderContext.context || loaderContext.rootContext, |
| 19 | request, |
| 20 | ), |
| 21 | ); |
| 22 | } |
| 23 | |
| 24 | // We can't use path.win32.isAbsolute because it also matches paths starting with a forward slash |
| 25 | const IS_NATIVE_WIN32_PATH = /^[a-z]:[/\\]|^\\\\/i; |