eslint-community / eslint-plugin-eslint-comments

Additional ESLint rules for directive comments of ESLint.
https://eslint-community.github.io/eslint-plugin-eslint-comments
MIT License
51 stars 7 forks source link

chore(docs): add SW to clear cached data in `vuepress/pwa` #124

Closed ota-meshi closed 12 months ago

ota-meshi commented 12 months ago

I replaced Vuepress with Vitepress in #114, but because we was using a plugin @vuepress/pwa on previous site. This plug-in registers a service worker locally for visitors who visit the site, and most of the site data is cached by that SW, making it impossible to display new site pages.

This PR registers a new service worker and makes the new pages displayed.

codecov[bot] commented 12 months ago

Codecov Report

All modified lines are covered by tests :white_check_mark:

Comparison is base (3c08550) 97.87% compared to head (a8fc4e1) 97.87%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #124 +/- ## ======================================= Coverage 97.87% 97.87% ======================================= Files 17 17 Lines 282 282 ======================================= Hits 276 276 Misses 6 6 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.