3 Commits
Author SHA1 Message Date
imccyu d626538a9d feat(client): publish dependency stylesheet assets from dynamic bundles
A dynamic Client bundle that imports a dependency's stylesheet, such as
katex/dist/katex.css, now publishes the files that stylesheet's relative
url() values reference under lib/assets/vendor/<dependency>/<path>, with
the same content revision and asset-route URL as the package's own
assets. Each @font-face keeps only its first url() source, so one font
file per face is published. Fonts (.woff2, .woff, .ttf, .otf) become
package-asset media types for the asset route, the WebWorker preview
copy, and the asset import declarations. verify-client-packages reads
the url() references of imported dependency stylesheets, and rejects a
bare stylesheet import that does not resolve from the package.
2026-11-28 02:06:24 +08:00
imccyu ce84953e46 feat(client): serve plugin package assets by URL instead of data URLs 2026-10-20 02:13:37 +08:00
imccyu 93cbb3799d feat(client): inject public build environment 2026-08-19 18:21:26 +08:00