base path refactor to better support subpath hosting

This commit is contained in:
Jacky Zhao committed 2023-08-19 15:52:25 -07:00
1 parent 3201f83b70
commit c874e7e937
29 files changed
+257 -389

No files matched your search

+2 -2
View File
@@ -1,5 +1,5 @@
import { StaticResources } from "../util/resources"
import { FilePath, ServerSlug } from "../util/path"
import { FilePath, FullSlug } from "../util/path"
import { BuildCtx } from "../util/ctx"
export function getStaticResourcesFromPlugins(ctx: BuildCtx) {
@@ -28,7 +28,7 @@ export * from "./emitters"
declare module "vfile" {
// inserted in processors.ts
interface DataMap {
slug: ServerSlug
slug: FullSlug
filePath: FilePath
}
}