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

Commit

Permalink
refactor: remove unnecessary delete (#140)
Browse files Browse the repository at this point in the history
  • Loading branch information
evilebottnawi authored Aug 16, 2018
1 parent 401be63 commit e4d10a2
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,6 @@ export default function loader(src) {
const fallbackLoaderContext = Object.assign({}, this, {
query: fallbackQuery,
});
// Delete "options". "options" was deprecated in webpack 3, and removed in webpack 4. When support for webpack 3 is
// dropped, we can safely assume the fallback loader won't look at "options" and remove this line.
delete fallbackLoaderContext.options;

return fallback.call(fallbackLoaderContext, src);
}

0 comments on commit e4d10a2

Please sign in to comment.