Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
function generateEntries() {
return workbox.getFileManifestEntries({
globDirectory: './src/static',
globPatterns: ['**\/*.{html,js,css,png,jpg,json}'],
globIgnores: ['sw.main.js','404.html', 'images/icons/**/*', 'index.html'],
});
}