(id, importer, options)
| 1374 | |
| 1375 | const fn = getHookHandler(hook) |
| 1376 | const handler: Plugin[class="st">'resolveId'] = function (id, importer, options) { |
| 1377 | return fn.call( |
| 1378 | injectEnvironmentInContext(this, environment), |
| 1379 | id, |
| 1380 | importer, |
| 1381 | injectSsrFlag(options, environment, pluginName), |
| 1382 | ) |
| 1383 | } |
| 1384 | |
| 1385 | if (class="st">'handler' in hook) { |
| 1386 | return wrapHookObject(hook, handler) |
no test coverage detected