lavas-project / hexo-pwa

Hexo PWA plugin
MIT License
133 stars 17 forks source link

This fixes the sorting of posts, to precache the latest posts #14

Closed marcofranssen closed 4 years ago

marcofranssen commented 4 years ago

I figured that the sorting of posts wasn't working as expected. I randomly got some posts precached in my case instead of the latest 5.

This PR resolves that. See below for my comment to highlight that for you.

The remainder of changes is some code formatting done via prettierrc.

And I updated sw-toolbox to latest version.

Please merge and release this fix as soon as you can so I can depend on your version again.