Skip to content
This repository was archived by the owner on Mar 17, 2021. It is now read-only.

Commit e4d10a2

Browse files
refactor: remove unnecessary delete (#140)
1 parent 401be63 commit e4d10a2

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/index.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,6 @@ export default function loader(src) {
5555
const fallbackLoaderContext = Object.assign({}, this, {
5656
query: fallbackQuery,
5757
});
58-
// Delete "options". "options" was deprecated in webpack 3, and removed in webpack 4. When support for webpack 3 is
59-
// dropped, we can safely assume the fallback loader won't look at "options" and remove this line.
60-
delete fallbackLoaderContext.options;
6158

6259
return fallback.call(fallbackLoaderContext, src);
6360
}

0 commit comments

Comments
 (0)