Skip to content

Commit

Permalink
Fix extending webpack plugin (#3056)
Browse files Browse the repository at this point in the history
* Update inject-manifest.ts

* Update generate-sw.ts
  • Loading branch information
DibyodyutiMondal authored Apr 26, 2022
1 parent d461f12 commit 5530e0b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/workbox-webpack-plugin/src/generate-sw.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ export interface GenerateSWConfig extends WebpackGenerateSWOptions {
* @memberof module:workbox-webpack-plugin
*/
class GenerateSW {
private config: GenerateSWConfig;
protected config: GenerateSWConfig;
private alreadyCalled: boolean;

/**
Expand Down
2 changes: 1 addition & 1 deletion packages/workbox-webpack-plugin/src/inject-manifest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ const {RawSource} = webpack.sources || require('webpack-sources');
* @memberof module:workbox-webpack-plugin
*/
class InjectManifest {
private config: WebpackInjectManifestOptions;
protected config: WebpackInjectManifestOptions;
private alreadyCalled: boolean;

/**
Expand Down

0 comments on commit 5530e0b

Please sign in to comment.