
Security News
CVE Volume Surges Past 48,000 in 2025 as WordPress Plugin Ecosystem Drives Growth
CVE disclosures hit a record 48,185 in 2025, driven largely by vulnerabilities in third-party WordPress plugins.
github-pages-plugin-for-type-route
Advanced tools
Feature create-react-app/type-route/gh-pages compatibility
This is a build tool to enable Vite and create-react-app's sites that uses type-route to be deployed on gh-pages.
Github pages has no configuration to enable single pages application.
If you GET https://my-domain.com/a/b/foo github page will serve a/b/foo.html when in reality we would like that, regardless of the url path, it's always the index.html that is served.
The workaround is to copy the content of index.html into a 404.html file, it works but it's very bad for SEO.
Copying the index.html everywhere there is a path before deploying.



WARNING: In the
router.tsfile you can only perform relative import, import using based on thebaseUrloption of thetsconfig.jsonfile are not supported.
Then when we run yarn build and this will get generated for us:

All this files are copies of index.html generated by the tool:
[
"auteur.html",
"evenements.html",
"naturalisme.html",
"naturalisme/antilles.html",
"naturalisme/france.html",
"naturalisme/ouset-canadiens.html",
"naturalisme/reunion.html",
"portrait.html",
"404.html"
]
result: No more 404 🥳

This is a project that uses this module: https://github.com/thieryw/theo-tz
It's online here: http://thieryw.github.io/theo-tz
FAQs
Feature create-react-app/type-route/gh-pages compatibility
The npm package github-pages-plugin-for-type-route receives a total of 4 weekly downloads. As such, github-pages-plugin-for-type-route popularity was classified as not popular.
We found that github-pages-plugin-for-type-route demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
CVE disclosures hit a record 48,185 in 2025, driven largely by vulnerabilities in third-party WordPress plugins.

Security News
Socket CEO Feross Aboukhadijeh joins Insecure Agents to discuss CVE remediation and why supply chain attacks require a different security approach.

Security News
Tailwind Labs laid off 75% of its engineering team after revenue dropped 80%, as LLMs redirect traffic away from documentation where developers discover paid products.