Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added custom hook after build has completed. #14

Merged
merged 6 commits into from
Jun 5, 2020
Merged

Added custom hook after build has completed. #14

merged 6 commits into from
Jun 5, 2020

Conversation

thelevicole
Copy link

@thelevicole thelevicole commented May 24, 2020

I am writing a webpack plugin specifically for minifying jigsaw HTML which require access to the outputted HTML after the build process has completed.

Calling the tapped hooks within the command.get callback allows others to run plugin after the build has completed.

For reference please see my plugin (WIP) here: https://github.com/thelevicole/minify-laravel-jigsaw-output-plugin specifically Line 62

@bakerkretzmar
Copy link
Contributor

Cool, thanks a lot! I cleaned it up a bit and just called the hook jigsawDone.

@bakerkretzmar bakerkretzmar merged commit 9272b54 into tighten:master Jun 5, 2020
@thelevicole
Copy link
Author

Have published a package to npm for minifying the jigsaw html output using the new jigsawDone hook. Please see here: https://github.com/thelevicole/webkit-minify-jigsaw-output/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants