NekR / offline-plugin

Offline plugin (ServiceWorker, AppCache) for webpack (https://webpack.js.org/)
MIT License
4.52k stars 295 forks source link

replace `loaderUtils.parseQuery` with `loaderUtils.getOptions` #409

Open 1pete opened 6 years ago

1pete commented 6 years ago

loaderUtils.parseQuery is deprecated, see webpack/loader-utils#56

GGAlanSmithee commented 6 years ago

Hi @1pete thanks for your contribution. travis is passing, and it looks like AppVeyor complains about a certificate, unrelated to this PR.

@NekR Seems like the deprecation notice was added over a year ago according to the linked thread, is there a reason why we have not updated to use getOptions instead? Should probably be safe to merge this, right?