@@ -33,15 +33,15 @@ class WebpackImageSizesPlugin {
3333 */
3434 constructor ( options = { } ) {
3535 this . options = {
36- confImgPath : options . confImgPath || 'assets/conf-img' ,
37- sizesSubdir : options . sizesSubdir || 'sizes' ,
38- tplSubdir : options . tplSubdir || 'tpl' ,
39- outputImageLocations : options . outputImageLocations || 'image-locations.json' ,
40- outputImageSizes : options . outputImageSizes || 'image-sizes.json' ,
41- generateDefaultImages : options . generateDefaultImages || false ,
42- defaultImageSource : options . defaultImageSource || 'src/img/static/default.jpg' ,
43- defaultImagesOutputDir : options . defaultImagesOutputDir || 'dist/images' ,
44- defaultImageFormat : options . defaultImageFormat || 'jpg' ,
36+ confImgPath : 'assets/conf-img' ,
37+ sizesSubdir : 'sizes' ,
38+ tplSubdir : 'tpl' ,
39+ outputImageLocations : 'image-locations.json' ,
40+ outputImageSizes : 'image-sizes.json' ,
41+ generateDefaultImages : false ,
42+ defaultImageSource : 'src/img/static/default.jpg' ,
43+ defaultImagesOutputDir : 'dist/images' ,
44+ defaultImageFormat : 'jpg' ,
4545 ...options ,
4646 }
4747 }
0 commit comments