mirror of
https://github.com/hanzoai/workbox.git
synced 2026-09-24 17:04:35 +00:00
* 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
13 lines
375 B
JavaScript
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, {});
|