Files
Prateek BhatnagarandGitHub fbe994fd23 Fix/plugins workbox webpack plugin (#2400)
* fixing application of plugins in inject-manifest-plugin

* lint fixes

* Update inject-manifest.js

* fixing windows and reverting package-lock.json

* Update sw-src-define-plugin.js

* lint fixes
2020-03-10 21:58:40 -04:00

13 lines
375 B
JavaScript

/*
Copyright 2020 Google LLC
Use of this source code is governed by an MIT-style
license that can be found in the LICENSE file or at
https://opensource.org/licenses/MIT.
*/
// This is used to validate the DefinePlugin's replacement.
const prefix = __PREFIX__;
workbox.core.setCacheNameDetails({prefix});
workbox.precaching.precacheAndRoute(self.__WB_MANIFEST, {});