Skip to content

Commit 86fd2a6

Browse files
committed
Adjust indentation
1 parent fa0d957 commit 86fd2a6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,14 @@ const tapName = 'workerize-loader';
1212

1313
function compilationHook(compiler, handler) {
1414
if (compiler.hooks) {
15-
return compiler.hooks.compilation.tap(tapName, handler);
15+
return compiler.hooks.compilation.tap(tapName, handler);
1616
}
1717
return compiler.plugin('compilation', handler);
1818
}
1919

2020
function parseHook(data, handler) {
2121
if (data.normalModuleFactory.hooks) {
22-
return data.normalModuleFactory.hooks.parser.for('javascript/auto').tap(tapName, handler);
22+
return data.normalModuleFactory.hooks.parser.for('javascript/auto').tap(tapName, handler);
2323
}
2424
return data.normalModuleFactory.plugin('parser', handler);
2525
}

0 commit comments

Comments
 (0)