Skip to content

Commit 5b202d3

Browse files
committed
fix (theme): object destructuring
1 parent de341d6 commit 5b202d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config/webpack-image-sizes-plugin.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ class WebpackImageSizesPlugin {
7272
* @memberof WebpackImageSizesPlugin
7373
*/
7474
apply(compiler) {
75-
const context = compiler.context
75+
const { context } = compiler
7676
const confImgPath = path.resolve(context, this.options.confImgPath)
7777
const sizesPath = path.join(confImgPath, this.options.sizesSubdir)
7878
const tplPath = path.join(confImgPath, this.options.tplSubdir)

0 commit comments

Comments
 (0)