[docs] fix favicon and RSS logo URLs using public/ directory (#1653)
Follow-up to #1648, which appears not to be working as expected — the deployed site serves
<link href="/assets/favicon-BDu8Z21d.svg">but that URL returns 404.Claude researched the @vitejs/plugin-rsc build pipeline and has a theory: the Vite asset cache may be shared between the scan build (write=false) and the actual build, causing emitFile() to only be called in the throw-away scan context. The actual RSC bundle would then never include the file as a Rollup asset, so copyServerAssetsToClient has nothing to copy to dist/public/assets/. This was not confirmed.
Fix: move favicon.svg and stylex-logo-small.svg to public/, which Waku copies verbatim to dist/public/ regardless of the asset pipeline. Hardcode the stable paths /favicon.svg and /stylex-logo-small.svg instead of using Vite asset imports.
Co-authored-by: Claude Sonnet 4.6 (1M context) noreply@anthropic.com
版权所有:中国计算机学会技术支持:开源发展技术委员会
京ICP备13000930号-9
京公网安备 11010802047560号
StyleX ·

StyleX is a JavaScript library for defining styles for optimized user interfaces.
Documentation
Documentation Website
Documentation for individual packages can be found in their respective README files. Start with
@stylexjs/stylex.Example
Here is a simple example of StyleX use:
Development
This is the development monorepo for StyleX.
Structure
.githubexamplespackagesTasks
First,
yarn installthe yarn workspace.buildyarn buildto run the build script in every package.yarn workspace <package-name> buildto run the build script for a specific package.testyarn testto run tests for every package.yarn workspace <package-name> testto run the test script for a specific package. More details can be found in the contributing guide below.Contributing
Development happens in the open on GitHub and we are grateful for contributions including bug fixes, improvements, and ideas.
Code of Conduct
This project expects all participants to adhere to Meta’s OSS Code of Conduct. Please read the full text so that you can understand what actions will and will not be tolerated.
Contributing Guide
Read the contributing guide to learn about our development process, how to propose bug fixes and improvements, and how to build and test your changes.
Architectural Principles
Before proposing a change or addition to the StyleX API, you should familiarize yourself with the goals and architectural principles of the project.
License
StyleX is MIT licensed.