Closed KyleMaas closed 3 years ago
Great first pass there. I tried checking out this branch and building, it's 150kb smaller. And that is not including the css file one doesn't need to include.
That pretty much works. Found an interesting bug I need to file, but it's unrelated to this. Think I'm going to take this out of Draft status now. Make sure you test this well before merging, though - the underlying editor is considerably different, so I'm not confident I've handled all edge cases.
Inlined size before: 7,831,765 bytes
Inlined size after: 12,193,483 bytes
Something weird going on...
Not sure what's going on with inlining. I'm not seeing much (if any) difference between release build sizes between the master branch and this one. So if you're good with how this works, go for it, and I'll try and troubleshoot inlining later.
Btw one of the audit errors is from the inline tool.
I'm testing this now, seems to be working, will fix #300 before merging.
This looks really good. Thanks for taken on this. The js reduction is quite substantial. The css is a bit bigger, but not anything close to the increase you are seeing in the inline tool.
For whatever reason, this merge is messing up pulling master.
What, that's strange. Works fine here. Sure you are on master? :)
Yep. Don't know what's going on, but something's goofed up badly. Wiping and re-cloning to see if that works.
Not sure what happened but wiping and reloading seems to have fixed it.
This partially works. Problems so far include:
Fixes #298