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

Commit e63aee5

Browse files
Merge pull request #2 from ehmicky/patch-1
Update event handler name
2 parents 4fa60c7 + 1c33d7d commit e63aee5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ module.exports = () => {
1414
return {
1515
name: "netlify-plugin-image-optim",
1616

17-
postBuild: async config => {
17+
onPostBuild: async config => {
1818
const files = {};
1919
const glob = `${config.constants.BUILD_DIR}/**/*.{gif,jpg,jpeg,png,svg}`;
2020
const paths = await globby(glob);

0 commit comments

Comments
 (0)