Skip to content

allow to define options in the plugin options - #5

Open
FezVrasta wants to merge 1 commit into
kevinsperrine:masterfrom
FezVrasta:patch-1
Open

allow to define options in the plugin options#5
FezVrasta wants to merge 1 commit into
kevinsperrine:masterfrom
FezVrasta:patch-1

Conversation

@FezVrasta

Copy link
Copy Markdown
 {
      plugin: CracoWorkboxPlugin,
      options: {
         GenerateSW: options => {
	       // override GenerateSW config here
	       // e.g. options.skipWaiting = true;
	       return options;
	     },
	     InjectManifest: options => {
	       // override InjectManifest config here
	       // e.g. options.maximumFileSizeToCacheInBytes = 10 * 1024 * 1024;
	       return options;
	     }
      },
    },
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant