dumi 2.4.0-alpha.3 → 2.4.0-alpha.5
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.
|
@@ -153,9 +153,11 @@ var compile_default = (api) => {
|
|
|
153
153
|
});
|
|
154
154
|
api.modifyConfig((memo) => {
|
|
155
155
|
if (memo.mako) {
|
|
156
|
-
memo.mako.plugins = [
|
|
157
|
-
|
|
158
|
-
|
|
156
|
+
memo.mako.plugins = [
|
|
157
|
+
{
|
|
158
|
+
load: (0, import_makoHooks.getLoadHook)(api)
|
|
159
|
+
}
|
|
160
|
+
];
|
|
159
161
|
}
|
|
160
162
|
return memo;
|
|
161
163
|
});
|
|
@@ -91,8 +91,8 @@ var derivative_default = (api) => {
|
|
|
91
91
|
);
|
|
92
92
|
}
|
|
93
93
|
(0, import_assert.default)(
|
|
94
|
-
!api.config.ssr || api.config.ssr.builder === "webpack",
|
|
95
|
-
"Only `webpack` builder is supported in SSR mode!"
|
|
94
|
+
!api.config.ssr || api.config.ssr.builder === "webpack" || api.config.ssr.builder === "mako",
|
|
95
|
+
"Only `webpack` and mako` builder is supported in SSR mode!"
|
|
96
96
|
);
|
|
97
97
|
(0, import_assert.default)(
|
|
98
98
|
((_a = api.config.cssLoader) == null ? void 0 : _a.modules) === void 0 && api.config.cssLoaderModules === void 0,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dumi",
|
|
3
|
-
"version": "2.4.0-alpha.
|
|
3
|
+
"version": "2.4.0-alpha.5",
|
|
4
4
|
"description": "📖 Documentation Generator of React Component",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"generator",
|
|
@@ -65,9 +65,9 @@
|
|
|
65
65
|
"@swc/core": "1.4.2",
|
|
66
66
|
"@types/hast": "^2.3.5",
|
|
67
67
|
"@types/mdast": "^3.0.12",
|
|
68
|
-
"@umijs/bundler-utils": "4.2.6-alpha.
|
|
69
|
-
"@umijs/core": "4.2.6-alpha.
|
|
70
|
-
"@umijs/utils": "4.2.6-alpha.
|
|
68
|
+
"@umijs/bundler-utils": "4.2.6-alpha.16",
|
|
69
|
+
"@umijs/core": "4.2.6-alpha.16",
|
|
70
|
+
"@umijs/utils": "4.2.6-alpha.16",
|
|
71
71
|
"animated-scroll-to": "^2.3.0",
|
|
72
72
|
"classnames": "2.3.2",
|
|
73
73
|
"codesandbox": "^2.2.3",
|
|
@@ -119,7 +119,7 @@
|
|
|
119
119
|
"sass": "^1.64.1",
|
|
120
120
|
"sitemap": "^7.1.1",
|
|
121
121
|
"sucrase": "^3.34.0",
|
|
122
|
-
"umi": "4.2.6-alpha.
|
|
122
|
+
"umi": "4.2.6-alpha.16",
|
|
123
123
|
"unified": "^10.1.2",
|
|
124
124
|
"unist-util-visit": "^4.1.2",
|
|
125
125
|
"unist-util-visit-parents": "^5.1.3",
|
|
@@ -142,7 +142,7 @@
|
|
|
142
142
|
"@types/react": "^18.2.17",
|
|
143
143
|
"@types/react-copy-to-clipboard": "^5.0.4",
|
|
144
144
|
"@types/react-dom": "^18.2.7",
|
|
145
|
-
"@umijs/lint": "4.2.6-alpha.
|
|
145
|
+
"@umijs/lint": "4.2.6-alpha.16",
|
|
146
146
|
"@umijs/plugins": "4.0.32",
|
|
147
147
|
"codesandbox-import-utils": "^2.2.3",
|
|
148
148
|
"eslint": "^8.46.0",
|