@alauda/doom 0.20.6 → 0.20.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.
@@ -277,7 +277,7 @@ export async function loadConfig(root, { config: configFile, base, prefix, v: ve
277
277
  }
278
278
  outDir ||= mergedConfig.outDir;
279
279
  mergedConfig.outDir = `dist${(outDir ? addLeadingSlash(addTrailingSlash(outDir)) : base) +
280
- (isExplicitlyUnversioned(version) ? UNVERSIONED : version)}`;
280
+ (isExplicitlyUnversioned(version) ? UNVERSIONED : outDir ? version : '')}`;
281
281
  if (mergedConfig.builderConfig?.server?.open === true) {
282
282
  mergedConfig.builderConfig.server.open = mergedConfig.base;
283
283
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alauda/doom",
3
- "version": "0.20.6",
3
+ "version": "0.20.8",
4
4
  "type": "module",
5
5
  "description": "Doctor Doom making docs.",
6
6
  "repository": "https://gitlab-ce.alauda.cn/idp/Doom.git",