Ryan Wang ac0b158b73 chore: use esbuild instead of babel (#358)
引入 esbuild,提升构建速度。

before:

<img width="777" alt="image" src="https://github.com/halo-dev/docs/assets/21301288/49d28d76-1c10-47c8-ac8c-31b41a31f6bd">

after:

<img width="888" alt="image" src="https://github.com/halo-dev/docs/assets/21301288/61462a4c-ba66-4612-9363-67e5d394601b">


/kind improvement

```release-note
None
```
2024-05-28 03:42:57 +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 208 MiB
Languages
JavaScript 80.8%
TypeScript 14.8%
CSS 4.2%
Shell 0.2%