Repository navigation
Add support for minifying index.html - #5753
Conversation
|
Travis spurious error. Please trigger a rebuild. |
|
@ishitatsuyuki you can trigger a rebuilt by |
|
Two weeks elapsed. Please take a look! |
|
Heya @ishitatsuyuki, old system are used with the CLI, and we really don't want to introduce breaking changes for such little benefit. I'm sorry, but I'll have to close this PR. |
|
@filipesilva I'm aware of such concerns. Actually, I'm willing to disable the removal of trailing slash (it can be specified as It's a tradeoff of compatibility with performance, though. If you reopened this, I will change it to allow XHTML ASAP. |
|
I don't quite get what the problem is that you're trying to solve though. Is there a bug currently that you're trying to fix? |
|
Ah I see now! I'll reopen, and thank you for taking such an old issue on. I'm slightly worried that it might affect some users that are currently depending on the current As for this PR as is, can you change it to not remove |
|
Looks like there's some presumably spurious build failures. Please trigger a rebuild and see if there is a real problem or not. |
|
Some performance data if anyone is curious. File size differences for a new project:
For a medium-size project with some additional index content:
|
| excludeChunks: lazyChunks, | ||
| xhtml: true | ||
| xhtml: true, | ||
| cache: false, |
There was a problem hiding this comment.
Why is cache set to false?
There was a problem hiding this comment.
Looks like a leftover from the inlining implementation. Will remove it.
|
Restarted builds. |
|
might want to adjust the commit message to indicate this just minifies |
|
Review? |
|
It looks like version 3.0 of the |
|
Semver will still protect us, and I believe someone will create a plugin to bring the functionality. If nobody do, maybe I will do that. :( so slow review, it's going to enter the refactor cycle |
|
Sorry for the delay in getting it merged, I'm doing it now. |
|
Is there any way we can still get the trailing slash? Or to disable the minification of just the index.html? |
|
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
This was built with compatibility in mind.