@alauda/doom 1.6.0 → 1.6.1

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.
@@ -233,10 +233,6 @@ const getCommonConfig = async ({ config, root, configFilePath, base, version, do
233
233
  },
234
234
  },
235
235
  },
236
- export: config.export?.map((item) => ({
237
- ...item,
238
- entry: globSync(item.entry, { cwd: localBasePath }),
239
- })),
240
236
  };
241
237
  };
242
238
  const findConfig = async (basePath) => {
@@ -325,7 +321,10 @@ export async function loadConfig(root, { config: configFile, base, prefix, v: ve
325
321
  lang: commonConfig.lang,
326
322
  root: commonConfig.root,
327
323
  });
328
- mergedConfig.export = commonConfig.export;
324
+ mergedConfig.export = config.export?.map((item) => ({
325
+ ...item,
326
+ entry: globSync(item.entry, { cwd: commonConfig.root }),
327
+ }));
329
328
  if (base && prefix) {
330
329
  mergedConfig.base = (mergedConfig.prefix = normalizeSlash(prefix)) + base;
331
330
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alauda/doom",
3
- "version": "1.6.0",
3
+ "version": "1.6.1",
4
4
  "type": "module",
5
5
  "description": "Doctor Doom making docs.",
6
6
  "repository": "git+https://github.com/alauda/doom.git",