dumi 2.4.0-alpha.7 → 2.4.0-alpha.8

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, _e;
57
+ var _a, _b, _c, _d;
58
58
  const loaderBaseOpts = {
59
59
  techStacks: import__.techStacks,
60
60
  cwd: api.cwd,
@@ -133,9 +133,6 @@ 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")) {
139
136
  return await customRunLoaders({
140
137
  resource: filePath,
141
138
  loaders: [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dumi",
3
- "version": "2.4.0-alpha.7",
3
+ "version": "2.4.0-alpha.8",
4
4
  "description": "📖 Documentation Generator of React Component",
5
5
  "keywords": [
6
6
  "generator",