|
1 | | -# Modern.js Module tests coverage |
| 1 | +# Modern.js Module coverage |
2 | 2 |
|
3 | 3 | 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". |
4 | 4 |
|
5 | | -## build |
| 5 | +| Fully supported | Partial supported | Will support | Will not support | |
| 6 | +| --------------- | ----------------- | ------------ | ---------------- | |
| 7 | +| 🟢 | 🟡 | ⚪️ | ⚫️ | |
6 | 8 |
|
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) |
10 | 10 |
|
11 | 11 | | Feature | Status | Note | |
12 | 12 | | --------------- | ------ | -------------------------------------------------------- | |
@@ -44,3 +44,30 @@ Rslib will try to cover the common scenarios in the [integration test cases of M |
44 | 44 | | tsconfigExtends | 🟢 | | |
45 | 45 | | umdGlobals | 🟢 | | |
46 | 46 | | 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