[unplugin] 仅更改 CSS 会重命名 CSS 资源,但不会重命名引用该资源的 chunk
作者: bjcgg创建于 2026年9月29日更新于 2026年9月29日
import * as stylex from "@stylexjs/stylex"; import cssUrl from "./app.css?url"; import { tokens } from "./tokens.stylex.js";
const styles = stylex.create({ root: { color: tokens.accent } });
const link = document.createElement("link"); link.rel =
内容来源: facebook/stylex