dumi 2.0.6 → 2.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md
CHANGED
|
@@ -1,18 +1,29 @@
|
|
|
1
1
|
# dumi
|
|
2
2
|
|
|
3
|
-
[](https://npmjs.org/package/dumi) [](https://npmjs.org/package/dumi) [](https://github.com/umijs/dumi)
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
<img src="https://gw.alipayobjects.com/zos/bmw-prod/d3e3eb39-1cd7-4aa5-827c-877deced6b7e/lalxt4g3_w256_h256.png" width="120">
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
dumi is an static site generator for component library development.
|
|
8
|
+
|
|
9
|
+
## Usage & Guide
|
|
10
|
+
|
|
11
|
+
To view more online examples and docs, please visit [dumi official site](https://d.umijs.org).
|
|
12
|
+
|
|
13
|
+
## Development
|
|
8
14
|
|
|
9
15
|
```bash
|
|
10
16
|
$ pnpm install
|
|
17
|
+
$ pnpm dev
|
|
18
|
+
$ pnpm docs:dev
|
|
11
19
|
```
|
|
12
20
|
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
21
|
+
## Badge
|
|
22
|
+
|
|
23
|
+
Using dumi? Add a README badge to show it off: [](https://github.com/umijs/dumi)
|
|
24
|
+
|
|
25
|
+
```
|
|
26
|
+
[](https://github.com/umijs/dumi)
|
|
16
27
|
```
|
|
17
28
|
|
|
18
29
|
## LICENSE
|
|
@@ -80,7 +80,10 @@ var derivative_default = (api) => {
|
|
|
80
80
|
import_plugin_utils.logger.warn("Hash history is temporarily incompatible, it is recommended to use browser history for now.");
|
|
81
81
|
}
|
|
82
82
|
});
|
|
83
|
-
safeExcludeInMFSU(api, [
|
|
83
|
+
safeExcludeInMFSU(api, [
|
|
84
|
+
new RegExp("dumi/dist/client"),
|
|
85
|
+
new RegExp("compiled/_internal/searchWorker")
|
|
86
|
+
]);
|
|
84
87
|
api.modifyDefaultConfig((memo) => {
|
|
85
88
|
if (api.userConfig.mfsu !== false) {
|
|
86
89
|
if (import_fs.default.existsSync(import_path.default.join(api.cwd, "node_modules", ".pnpm")) || process.platform === "win32") {
|
package/package.json
CHANGED
|
@@ -43,6 +43,13 @@
|
|
|
43
43
|
&-aside {
|
|
44
44
|
display: flex;
|
|
45
45
|
align-items: center;
|
|
46
|
+
|
|
47
|
+
@media @mobile {
|
|
48
|
+
margin: 8px 16px;
|
|
49
|
+
padding-top: 24px;
|
|
50
|
+
justify-content: center;
|
|
51
|
+
border-top: 1px solid @c-border-light;
|
|
52
|
+
}
|
|
46
53
|
}
|
|
47
54
|
|
|
48
55
|
@media @mobile {
|
|
@@ -69,7 +76,7 @@
|
|
|
69
76
|
&-menu-btn {
|
|
70
77
|
position: absolute;
|
|
71
78
|
top: 50%;
|
|
72
|
-
|
|
79
|
+
inset-inline-end: 24px;
|
|
73
80
|
padding: 0;
|
|
74
81
|
border: 0;
|
|
75
82
|
background: transparent;
|