diff --git a/.node-version b/.node-version new file mode 100644 index 0000000..a45fd52 --- /dev/null +++ b/.node-version @@ -0,0 +1 @@ +24 diff --git a/package.json b/package.json index b60f35d..0323bdd 100644 --- a/package.json +++ b/package.json @@ -9,6 +9,7 @@ "check:format": "oxfmt . --check", "check:spell": "pnpm dlx cspell", "doc": "pnpm --dir website dev", + "doc:build": "node --run build && pnpm --dir website build", "format": "oxfmt .", "lint": "rs lint --type-check", "prepare": "husky", diff --git a/website/i18n.json b/website/i18n.json index 5fd5637..37198f1 100644 --- a/website/i18n.json +++ b/website/i18n.json @@ -32,8 +32,8 @@ "zh": "Rstack 驱动" }, "ecosystemPoweredDesc": { - "en": "Built on Rsbuild, Rslib, Rstest, Rslint, and Rspress.", - "zh": "基于 Rsbuild、Rslib、Rstest、Rslint 和 Rspress。" + "en": "Built on Rspack, Rsbuild, Rslib, Rstest, Rslint, and Rspress.", + "zh": "基于 Rspack、Rsbuild、Rslib、Rstest、Rslint 和 Rspress。" }, "workflowFriendly": { "en": "Workflow Friendly", diff --git a/website/rstack.config.ts b/website/rstack.config.ts index 0a11e9a..fc41eaa 100644 --- a/website/rstack.config.ts +++ b/website/rstack.config.ts @@ -18,6 +18,7 @@ define.doc(async () => { return { root: path.join(import.meta.dirname, 'docs'), title, + icon: 'https://assets.rspack.rs/rspack/favicon-128x128.png', logoText: title, description, lang: 'en',