Skip to content
This repository was archived by the owner on Jan 9, 2023. It is now read-only.

Commit e5e2b56

Browse files
committed
Remove top-level function
1 parent ea8d1ee commit e5e2b56

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

index.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,7 @@ const optipng = require("imagemin-optipng");
1010
const pngquant = require("imagemin-pngquant");
1111
const svgo = require("imagemin-svgo");
1212

13-
module.exports = () => {
14-
return {
13+
module.exports = {
1514
name: "netlify-plugin-image-optim",
1615

1716
postBuild: async config => {
@@ -80,5 +79,4 @@ module.exports = () => {
8079
})
8180
);
8281
}
83-
};
8482
};

0 commit comments

Comments
 (0)