Skip to content

Commit 3a6fea2

Browse files
committed
docs: update Modern Module test coverage terget
1 parent f9f1751 commit 3a6fea2

File tree

1 file changed

+32
-5
lines changed

1 file changed

+32
-5
lines changed

tests/README.md

Lines changed: 32 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
# Modern.js Module tests coverage
1+
# Modern.js Module coverage
22

33
Rslib will try to cover the common scenarios in the [integration test cases of Modern.js Module](https://github.com/web-infra-dev/modern.js/tree/main/tests/integration/module). This document is used to record the coverage situation. The supported types are divided into three types: "fully supported", "Partial supported", "not supported, but planned to support" and "not supported, not planned to support".
44

5-
## build
5+
| Fully supported | Partial supported | Will support | Will not support |
6+
| --------------- | ----------------- | ------------ | ---------------- |
7+
| 🟢 | 🟡 | ⚪️ | ⚫️ |
68

7-
| Supported | Partial supported | Will support | Will not support |
8-
| --------- | ----------------- | ------------ | ---------------- |
9-
| 🟢 | 🟡 | ⚪️ | ⚫️ |
9+
## [build](https://github.com/web-infra-dev/modern.js/tree/main/tests/integration/module/fixtures/build)
1010

1111
| Feature | Status | Note |
1212
| --------------- | ------ | -------------------------------------------------------- |
@@ -44,3 +44,30 @@ Rslib will try to cover the common scenarios in the [integration test cases of M
4444
| tsconfigExtends | 🟢 | |
4545
| umdGlobals | 🟢 | |
4646
| umdModuleName | 🟡 | lacks 1. non string type 2. auto transform to camel case |
47+
48+
## [dev](https://github.com/web-infra-dev/modern.js/tree/main/tests/integration/module/fixtures/dev)
49+
50+
WIP.
51+
52+
## [platform](https://github.com/web-infra-dev/modern.js/tree/main/tests/integration/module/fixtures/platform)
53+
54+
WIP.
55+
56+
## [preset](https://github.com/web-infra-dev/modern.js/tree/main/tests/integration/module/fixtures/preset)
57+
58+
WIP.
59+
60+
## [plugins](https://github.com/web-infra-dev/modern.js/tree/main/tests/integration/module/plugins)
61+
62+
Rslib could reuse the plugins from Rsbuild, which means the [official plugins](https://edenx.bytedance.net/module-tools/en/plugins/official-list/overview.html) provided by Modern Module could be replaced by Rsbuild plugins.
63+
64+
| Plugins | Status | Note |
65+
| ---------------------------------- | ------ | ----------------------------------------------------------------------------- |
66+
| @edenx/plugin-module-import | ⚪️ | Use https://rsbuild.dev/config/source/transform-import#sourcetransformimport. |
67+
| @edenx/plugin-module-banner | 🟢 | BannerPlugin. |
68+
| @edenx/plugin-module-node-polyfill | ⚪️ | Use https://github.com/rspack-contrib/rsbuild-plugin-node-polyfill. |
69+
| @edenx/plugin-module-polyfill | ⚪️ | Use https://rsbuild.dev/config/output/polyfill#outputpolyfill. |
70+
| @edenx/plugin-module-babel | ⚪️ | Use https://rsbuild.dev/plugins/list/plugin-babel. |
71+
| @edenx/plugin-module-vue | ⚪️ | Use https://rsbuild.dev/plugins/list/plugin-vue. |
72+
73+
##

0 commit comments

Comments
 (0)