From e4d10a29d529a59f15137be5942790eb3a8dc34f Mon Sep 17 00:00:00 2001 From: Evilebot Tnawi Date: Thu, 16 Aug 2018 13:27:15 +0300 Subject: [PATCH] refactor: remove unnecessary delete (#140) --- src/index.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/index.js b/src/index.js index 3d56708..c083f01 100644 --- a/src/index.js +++ b/src/index.js @@ -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); }