-
Notifications
You must be signed in to change notification settings - Fork 38
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
How to avoid closing body and html tags in output file? #44
Comments
All this plugin does is wrap critical so it can be used as part of a webpack build. So unfortunately if there is an issue with the output, it would be with critical itself so I would recommend looking at their issue tracker / docs to see if you can get more help. Hope that helps! |
But in the critical module there is an opportunity to get the HTML source code and modify it. There is no such possibility in html-critical-webpack-plugin.
|
ah, I see what you mean now, thank you. it looks like then this could be easily supported then with the current implementation:
If you want to try for a PR I can help advise / provide feedback. If so, adding an example of it in the README would be good too. Let me know your thoughts. |
I use webpack for development and do not know enough about its ecosystem of plugins. Therefore, I can hardly make a good pull request, sorry. |
@Sigizmund2012 try to modify
and your
|
Hello! Is it possible to exclude closing body and html tags from the output file? The plugin puts these tags automatically, but I want to avoid this. My template looks like this:
The text was updated successfully, but these errors were encountered: