Skip to content

Commit

Permalink
docs: add README for every package (web-infra-dev#1947)
Browse files Browse the repository at this point in the history
* docs: add README for every packages

* docs: add more links to README

* docs: update table
  • Loading branch information
chenjiahan authored Feb 23, 2023
1 parent 6c22915 commit fdd1e9e
Show file tree
Hide file tree
Showing 17 changed files with 250 additions and 9 deletions.
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,12 @@ Please read the [contributing guide](./CONTRIBUTING.md) and let's build Rspack t

## Links

- [Rspack Website](https://rspack.org)
| Name | Description |
| --------------------------------------------------------------------------------------- | --------------------------------------------------------------------------- |
| [rspack website](https://rspack.org) | Official documentation for rspack |
| [rspack website repo](https://github.com/modern-js-dev/rspack-website) | Repository of official documentation |
| [rspack-sources](https://github.com/modern-js-dev/rspack-sources) | Rusty [webpack-sources](https://www.npmjs.com/package/webpack-sources) port |
| [rspack-migration-showcase](https://github.com/modern-js-dev/rspack-migration-showcase) | Migration showcases for rspack |

## Credits

Expand Down
7 changes: 6 additions & 1 deletion README.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,12 @@

## 链接

- [Rspack 文档](https://rspack.org)
| 名称 | 描述 |
| --------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------- |
| [rspack 文档](https://rspack.org) | rspack 官方文档 |
| [rspack 文档仓库](https://github.com/modern-js-dev/rspack-website) | rspack 官方文档的代码仓库 |
| [rspack-sources](https://github.com/modern-js-dev/rspack-sources) | Rust 版本的 [webpack-sources](https://www.npmjs.com/package/webpack-sources) |
| [rspack-migration-showcase](https://github.com/modern-js-dev/rspack-migration-showcase) | 迁移到 rspack 的示例项目 |

## 致谢

Expand Down
16 changes: 16 additions & 0 deletions crates/node_binding/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<picture>
<source media="(prefers-color-scheme: dark)" srcset="https://lf3-static.bytednsdoc.com/obj/eden-cn/rjhwzy/ljhwZthlaukjlkulzlp/rspack-banner-1610-dark.png">
<img alt="Rspack Banner" src="https://lf3-static.bytednsdoc.com/obj/eden-cn/rjhwzy/ljhwZthlaukjlkulzlp/rspack-banner-1610.png">
</picture>

# @rspack/binding

Node binding for rspack.

## Documentation

See [https://rspack.org](https://rspack.org) for details.

## License

Rspack is [MIT licensed](https://github.com/modern-js-dev/rspack/blob/main/LICENSE).
16 changes: 16 additions & 0 deletions npm/darwin-arm64/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<picture>
<source media="(prefers-color-scheme: dark)" srcset="https://lf3-static.bytednsdoc.com/obj/eden-cn/rjhwzy/ljhwZthlaukjlkulzlp/rspack-banner-1610-dark.png">
<img alt="Rspack Banner" src="https://lf3-static.bytednsdoc.com/obj/eden-cn/rjhwzy/ljhwZthlaukjlkulzlp/rspack-banner-1610.png">
</picture>

# @rspack/binding-darwin-arm64

Node binding for rspack.

## Documentation

See [https://rspack.org](https://rspack.org) for details.

## License

Rspack is [MIT licensed](https://github.com/modern-js-dev/rspack/blob/main/LICENSE).
16 changes: 16 additions & 0 deletions npm/darwin-x64/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<picture>
<source media="(prefers-color-scheme: dark)" srcset="https://lf3-static.bytednsdoc.com/obj/eden-cn/rjhwzy/ljhwZthlaukjlkulzlp/rspack-banner-1610-dark.png">
<img alt="Rspack Banner" src="https://lf3-static.bytednsdoc.com/obj/eden-cn/rjhwzy/ljhwZthlaukjlkulzlp/rspack-banner-1610.png">
</picture>

# @rspack/binding-darwin-x64

Node binding for rspack.

## Documentation

See [https://rspack.org](https://rspack.org) for details.

## License

Rspack is [MIT licensed](https://github.com/modern-js-dev/rspack/blob/main/LICENSE).
16 changes: 16 additions & 0 deletions npm/linux-x64-gnu/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<picture>
<source media="(prefers-color-scheme: dark)" srcset="https://lf3-static.bytednsdoc.com/obj/eden-cn/rjhwzy/ljhwZthlaukjlkulzlp/rspack-banner-1610-dark.png">
<img alt="Rspack Banner" src="https://lf3-static.bytednsdoc.com/obj/eden-cn/rjhwzy/ljhwZthlaukjlkulzlp/rspack-banner-1610.png">
</picture>

# @rspack/binding-linux-x64-gnu

Node binding for rspack.

## Documentation

See [https://rspack.org](https://rspack.org) for details.

## License

Rspack is [MIT licensed](https://github.com/modern-js-dev/rspack/blob/main/LICENSE).
16 changes: 16 additions & 0 deletions npm/win32-x64-msvc/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<picture>
<source media="(prefers-color-scheme: dark)" srcset="https://lf3-static.bytednsdoc.com/obj/eden-cn/rjhwzy/ljhwZthlaukjlkulzlp/rspack-banner-1610-dark.png">
<img alt="Rspack Banner" src="https://lf3-static.bytednsdoc.com/obj/eden-cn/rjhwzy/ljhwZthlaukjlkulzlp/rspack-banner-1610.png">
</picture>

# @rspack/binding-win32-x64-msvc

Node binding for rspack.

## Documentation

See [https://rspack.org](https://rspack.org) for details.

## License

Rspack is [MIT licensed](https://github.com/modern-js-dev/rspack/blob/main/LICENSE).
16 changes: 16 additions & 0 deletions packages/create-rspack/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<picture>
<source media="(prefers-color-scheme: dark)" srcset="https://lf3-static.bytednsdoc.com/obj/eden-cn/rjhwzy/ljhwZthlaukjlkulzlp/rspack-banner-1610-dark.png">
<img alt="Rspack Banner" src="https://lf3-static.bytednsdoc.com/obj/eden-cn/rjhwzy/ljhwZthlaukjlkulzlp/rspack-banner-1610.png">
</picture>

# create-rspack

Create a new rspack project.

## Documentation

See [https://rspack.org](https://rspack.org) for details.

## License

Rspack is [MIT licensed](https://github.com/modern-js-dev/rspack/blob/main/LICENSE).
16 changes: 16 additions & 0 deletions packages/postcss-loader/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<picture>
<source media="(prefers-color-scheme: dark)" srcset="https://lf3-static.bytednsdoc.com/obj/eden-cn/rjhwzy/ljhwZthlaukjlkulzlp/rspack-banner-1610-dark.png">
<img alt="Rspack Banner" src="https://lf3-static.bytednsdoc.com/obj/eden-cn/rjhwzy/ljhwZthlaukjlkulzlp/rspack-banner-1610.png">
</picture>

# @rspack/postcss-loader

PostCSS loader for rspack.

## Documentation

See [https://rspack.org](https://rspack.org) for details.

## License

Rspack is [MIT licensed](https://github.com/modern-js-dev/rspack/blob/main/LICENSE).
16 changes: 16 additions & 0 deletions packages/rspack-cli/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<picture>
<source media="(prefers-color-scheme: dark)" srcset="https://lf3-static.bytednsdoc.com/obj/eden-cn/rjhwzy/ljhwZthlaukjlkulzlp/rspack-banner-1610-dark.png">
<img alt="Rspack Banner" src="https://lf3-static.bytednsdoc.com/obj/eden-cn/rjhwzy/ljhwZthlaukjlkulzlp/rspack-banner-1610.png">
</picture>

# @rspack/cli

Command-line interface for rspack.

## Documentation

See [https://rspack.org](https://rspack.org) for details.

## License

Rspack is [MIT licensed](https://github.com/modern-js-dev/rspack/blob/main/LICENSE).
16 changes: 16 additions & 0 deletions packages/rspack-dev-client/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<picture>
<source media="(prefers-color-scheme: dark)" srcset="https://lf3-static.bytednsdoc.com/obj/eden-cn/rjhwzy/ljhwZthlaukjlkulzlp/rspack-banner-1610-dark.png">
<img alt="Rspack Banner" src="https://lf3-static.bytednsdoc.com/obj/eden-cn/rjhwzy/ljhwZthlaukjlkulzlp/rspack-banner-1610.png">
</picture>

# @rspack/dev-client

Development client for rspack.

## Documentation

See [https://rspack.org](https://rspack.org) for details.

## License

Rspack is [MIT licensed](https://github.com/modern-js-dev/rspack/blob/main/LICENSE).
17 changes: 15 additions & 2 deletions packages/rspack-dev-middleware/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
# rspack-dev-middleware
<picture>
<source media="(prefers-color-scheme: dark)" srcset="https://lf3-static.bytednsdoc.com/obj/eden-cn/rjhwzy/ljhwZthlaukjlkulzlp/rspack-banner-1610-dark.png">
<img alt="Rspack Banner" src="https://lf3-static.bytednsdoc.com/obj/eden-cn/rjhwzy/ljhwZthlaukjlkulzlp/rspack-banner-1610.png">
</picture>

An express middleware for rspack.
# @rspack/dev-middleware

Development middleware for rspack.

## Documentation

See [https://rspack.org](https://rspack.org) for details.

## License

Rspack is [MIT licensed](https://github.com/modern-js-dev/rspack/blob/main/LICENSE).
17 changes: 16 additions & 1 deletion packages/rspack-dev-server/README.md
Original file line number Diff line number Diff line change
@@ -1 +1,16 @@
# rspack-dev-server
<picture>
<source media="(prefers-color-scheme: dark)" srcset="https://lf3-static.bytednsdoc.com/obj/eden-cn/rjhwzy/ljhwZthlaukjlkulzlp/rspack-banner-1610-dark.png">
<img alt="Rspack Banner" src="https://lf3-static.bytednsdoc.com/obj/eden-cn/rjhwzy/ljhwZthlaukjlkulzlp/rspack-banner-1610.png">
</picture>

# @rspack/dev-server

Development server for rspack.

## Documentation

See [https://rspack.org](https://rspack.org) for details.

## License

Rspack is [MIT licensed](https://github.com/modern-js-dev/rspack/blob/main/LICENSE).
17 changes: 15 additions & 2 deletions packages/rspack-plugin-html/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
# `@rspack/plugin-html`
<picture>
<source media="(prefers-color-scheme: dark)" srcset="https://lf3-static.bytednsdoc.com/obj/eden-cn/rjhwzy/ljhwZthlaukjlkulzlp/rspack-banner-1610-dark.png">
<img alt="Rspack Banner" src="https://lf3-static.bytednsdoc.com/obj/eden-cn/rjhwzy/ljhwZthlaukjlkulzlp/rspack-banner-1610.png">
</picture>

Modified from `html-webpack-plugin`.
# @rspack/plugin-html

HTML plugin for rspack, Modified from [jantimon/html-webpack-plugin](https://github.com/jantimon/html-webpack-plugin).

## Documentation

See [https://rspack.org](https://rspack.org) for details.

## License

Rspack is [MIT licensed](https://github.com/modern-js-dev/rspack/blob/main/LICENSE).
16 changes: 16 additions & 0 deletions packages/rspack-plugin-minify/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<picture>
<source media="(prefers-color-scheme: dark)" srcset="https://lf3-static.bytednsdoc.com/obj/eden-cn/rjhwzy/ljhwZthlaukjlkulzlp/rspack-banner-1610-dark.png">
<img alt="Rspack Banner" src="https://lf3-static.bytednsdoc.com/obj/eden-cn/rjhwzy/ljhwZthlaukjlkulzlp/rspack-banner-1610.png">
</picture>

# @rspack/plugin-minify

Minify plugin for rspack.

## Documentation

See [https://rspack.org](https://rspack.org) for details.

## License

Rspack is [MIT licensed](https://github.com/modern-js-dev/rspack/blob/main/LICENSE).
17 changes: 16 additions & 1 deletion packages/rspack-plugin-node-polyfill/README.md
Original file line number Diff line number Diff line change
@@ -1 +1,16 @@
# node polyfill
<picture>
<source media="(prefers-color-scheme: dark)" srcset="https://lf3-static.bytednsdoc.com/obj/eden-cn/rjhwzy/ljhwZthlaukjlkulzlp/rspack-banner-1610-dark.png">
<img alt="Rspack Banner" src="https://lf3-static.bytednsdoc.com/obj/eden-cn/rjhwzy/ljhwZthlaukjlkulzlp/rspack-banner-1610.png">
</picture>

# @rspack/plugin-node-polyfill

Node polyfill plugin for rspack.

## Documentation

See [https://rspack.org](https://rspack.org) for details.

## License

Rspack is [MIT licensed](https://github.com/modern-js-dev/rspack/blob/main/LICENSE).
17 changes: 16 additions & 1 deletion packages/rspack/README.md
Original file line number Diff line number Diff line change
@@ -1 +1,16 @@
# rspack
<picture>
<source media="(prefers-color-scheme: dark)" srcset="https://lf3-static.bytednsdoc.com/obj/eden-cn/rjhwzy/ljhwZthlaukjlkulzlp/rspack-banner-1610-dark.png">
<img alt="Rspack Banner" src="https://lf3-static.bytednsdoc.com/obj/eden-cn/rjhwzy/ljhwZthlaukjlkulzlp/rspack-banner-1610.png">
</picture>

# @rspack/core

A Fast Rust-based Web Bundler.

## Documentation

See [https://rspack.org](https://rspack.org) for details.

## License

Rspack is [MIT licensed](https://github.com/modern-js-dev/rspack/blob/main/LICENSE).

0 comments on commit fdd1e9e

Please sign in to comment.