dumi 2.4.0-alpha.6 → 2.4.0-alpha.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.
|
@@ -54,7 +54,7 @@ var customRunLoaders = async (options) => {
|
|
|
54
54
|
var mdLoaderPath = require.resolve("../../loaders/markdown");
|
|
55
55
|
var getLoadHook = (api) => {
|
|
56
56
|
return async (filePath) => {
|
|
57
|
-
var _a, _b, _c, _d;
|
|
57
|
+
var _a, _b, _c, _d, _e;
|
|
58
58
|
const loaderBaseOpts = {
|
|
59
59
|
techStacks: import__.techStacks,
|
|
60
60
|
cwd: api.cwd,
|
|
@@ -133,6 +133,9 @@ var getLoadHook = (api) => {
|
|
|
133
133
|
});
|
|
134
134
|
}
|
|
135
135
|
if ((_d = requestUrl.query) == null ? void 0 : _d.includes("dumi-raw")) {
|
|
136
|
+
return await customRunLoaders({});
|
|
137
|
+
}
|
|
138
|
+
if ((_e = requestUrl.query) == null ? void 0 : _e.includes("dumi-raw")) {
|
|
136
139
|
return await customRunLoaders({
|
|
137
140
|
resource: filePath,
|
|
138
141
|
loaders: [
|
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.7",
|
|
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.18",
|
|
69
|
+
"@umijs/core": "4.2.6-alpha.18",
|
|
70
|
+
"@umijs/utils": "4.2.6-alpha.18",
|
|
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.18",
|
|
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.18",
|
|
146
146
|
"@umijs/plugins": "4.0.32",
|
|
147
147
|
"codesandbox-import-utils": "^2.2.3",
|
|
148
148
|
"eslint": "^8.46.0",
|