GoogleChrome / GoogleChrome/workbox

generateSW() result doesn't match the docs

Open
#3,382 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
13k
Forks
880
Avg merge
2h 44m
Merged PRs (30d)
8

Description

When using workbox-build I assumed looking at the docs that I would be able to get information about what will be pre-cache from the generateSW() result. See https://developer.chrome.com/docs/workbox/modules/workbox-build#generatesw_mode

When I call generateSW() I get output that looks like:
```
filePaths: [
'.js.map',
'.js',
'.js.map',
'.js'
],
count: 4,
size: 5653385,
warnings: []
```

Is this expected behavior? If so the docs need changed.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.