An open API service indexing awesome lists of open source software.

https://github.com/yzqdev/vuepress-rspack


https://github.com/yzqdev/vuepress-rspack

Last synced: 11 months ago
JSON representation

Awesome Lists containing this project

README

          

# bundler-rspack

## run

folder structure

```
bundler-rspack - rspack bundler source
sample - a vuepress sample created by create-vuepress

```

1. install deps

```shell
pnpm install
```

2. build bundler-rspack

```shell
cd bundler-rspack

pnpm build
```

3. build docs

```shell
# run with rspack
pnpm dev:rspack
# run with vite
pnpm dev:vite
# build with rspack
pnpm build:rspack
# build with vite
pnpm build:vite

```

compare rspack and vite compile speed

## rspack

![](./rspack.png)

## vite

![](./vite.png)