diff --git a/packages/workbox-build/src/schema/GenerateSWOptions.json b/packages/workbox-build/src/schema/GenerateSWOptions.json index 6a5f8b0ab..0a7c4137c 100644 --- a/packages/workbox-build/src/schema/GenerateSWOptions.json +++ b/packages/workbox-build/src/schema/GenerateSWOptions.json @@ -55,7 +55,7 @@ "globPatterns": { "description": "Files matching any of these patterns will be included in the precache\nmanifest. For more information, see the\n[`glob` primer](https://github.com/isaacs/node-glob#glob-primer).", "default": [ - "**/*.{js,css,html}" + "**/*.{js,wasm,css,html}" ], "type": "array", "items": { diff --git a/packages/workbox-build/src/schema/GetManifestOptions.json b/packages/workbox-build/src/schema/GetManifestOptions.json index 4042acb71..a6e5aff91 100644 --- a/packages/workbox-build/src/schema/GetManifestOptions.json +++ b/packages/workbox-build/src/schema/GetManifestOptions.json @@ -55,7 +55,7 @@ "globPatterns": { "description": "Files matching any of these patterns will be included in the precache\nmanifest. For more information, see the\n[`glob` primer](https://github.com/isaacs/node-glob#glob-primer).", "default": [ - "**/*.{js,css,html}" + "**/*.{js,wasm,css,html}" ], "type": "array", "items": { diff --git a/packages/workbox-build/src/schema/InjectManifestOptions.json b/packages/workbox-build/src/schema/InjectManifestOptions.json index d810e1d18..6cc5068eb 100644 --- a/packages/workbox-build/src/schema/InjectManifestOptions.json +++ b/packages/workbox-build/src/schema/InjectManifestOptions.json @@ -55,7 +55,7 @@ "globPatterns": { "description": "Files matching any of these patterns will be included in the precache\nmanifest. For more information, see the\n[`glob` primer](https://github.com/isaacs/node-glob#glob-primer).", "default": [ - "**/*.{js,css,html}" + "**/*.{js,wasm,css,html}" ], "type": "array", "items": { diff --git a/packages/workbox-build/src/types.ts b/packages/workbox-build/src/types.ts index 4b6b36b71..608f1a99a 100644 --- a/packages/workbox-build/src/types.ts +++ b/packages/workbox-build/src/types.ts @@ -401,7 +401,7 @@ export interface GlobPartial { * Files matching any of these patterns will be included in the precache * manifest. For more information, see the * [`glob` primer](https://github.com/isaacs/node-glob#glob-primer). - * @default ["**\/*.{js,css,html}"] + * @default ["**\/*.{js,wasm,css,html}"] */ globPatterns?: Array; /**