1export function initialize() {
2  if (this != null) {
3    throw new Error('hook function must not be bound to loader instance');
4  }
5}
6
7export function resolve(url, _, next) {
8  if (this != null) {
9    throw new Error('hook function must not be bound to loader instance');
10  }
11
12  return next(url);
13}
14
15export function load(url, _, next) {
16  if (this != null) {
17    throw new Error('hook function must not be bound to loader instance');
18  }
19
20  return next(url);
21}
22