Skip to content

Commit b292e76

Browse files
committed
Fix linting issues
1 parent d576b21 commit b292e76

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Diff for: lib/webpack/delete-unused-entries-js-plugin.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@
99

1010
'use strict';
1111

12-
const webpack = require('webpack');
13-
1412
function DeleteUnusedEntriesJSPlugin(entriesToDelete = []) {
1513
this.entriesToDelete = entriesToDelete;
1614
}
@@ -54,10 +52,12 @@ DeleteUnusedEntriesJSPlugin.prototype.apply = function(compiler) {
5452
});
5553
};
5654

57-
compiler.hooks.compilation.tap('DeleteUnusedEntriesJSPlugin', function (compilation) {
55+
compiler.hooks.compilation.tap('DeleteUnusedEntriesJSPlugin', function(compilation) {
5856
compilation.hooks.additionalAssets.tap(
5957
'DeleteUnusedEntriesJsPlugin',
60-
function() { deleteEntries(compilation) }
58+
function() {
59+
deleteEntries(compilation);
60+
}
6161
);
6262
});
6363
};

0 commit comments

Comments
 (0)