Ryan Wang d78a16e217 chore: use swc instead of esbuild (#359)
使用 swc 代替 esbuild,之前在 https://github.com/halo-dev/docs/pull/358 中引入了 esbuild,但发现在生产构建之后会出现这个问题:

<img width="1912" alt="image" src="https://github.com/halo-dev/docs/assets/21301288/5dcd724d-3876-4e58-b902-1818dd9d1fbd">

暂时不清楚为什么,使用 swc 测试构建之后没有这个问题。

/kind bug

```release-note
None
```
2024-05-28 05:18:58 +00:00
2024-05-07 23:25:32 +08:00
2022-02-26 12:08:00 +08:00
2021-10-05 14:30:42 +08:00
2022-03-28 21:59:04 +08:00
2021-11-23 20:51:14 +08:00

The open-source repo for docs.halo.run

This website is built using Docusaurus 2, a modern static website generator.

Installation

$ pnpm install 

If you dont have pnpm installed, you can install it with the following command:

npm install -g pnpm

Local Development

$ pnpm start

This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.

Build

$ pnpm build

This command generates static content into the build directory and can be served using any static contents hosting service.

Description
The open-source repo for docs.halo.run
Readme 209 MiB
Languages
JavaScript 65%
TypeScript 19%
SCSS 12.6%
CSS 3.3%
Shell 0.1%