katoikia-app/web-ui/web-react/node_modules/workbox-webpack-plugin/build/lib/get-default-config.js

26 lines
615 B
JavaScript
Raw Normal View History

2022-07-06 04:15:11 +00:00
"use strict";
/*
Copyright 2018 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.
*/
/**
* @return {Object} A fresh object with the default config.
*
* @private
*/
module.exports = () => ({
chunks: [],
exclude: [// Exclude source maps.
/\.map$/, // Exclude anything starting with manifest and ending .js.
/^manifest.*\.js?$/],
excludeChunks: [],
importsDirectory: '',
importScripts: [],
importWorkboxFrom: 'cdn',
precacheManifestFilename: 'precache-manifest.[manifestHash].js'
});