include
First added
Workbox
About
One or more specifiers used to include assets from the precache manifest. This is interpreted following the same rules as webpack’s standard include
option.
Usage
new InjectManifest({
include: [
/\.(js|css|json)$/,
({ asset }) => asset.name.startsWith("client/"),
],
});
More resources
Here is a list of resources you can read to learn more about include
: