Skip to content
This repository was archived by the owner on Jul 6, 2025. It is now read-only.

Commit 3405b25

Browse files
committed
breaking: allowPage -> asPage
1 parent b14a263 commit 3405b25

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

types.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ export type LoaderPlugin = {
1212
test: RegExp
1313
/** `acceptHMR` enables the HMR. */
1414
acceptHMR?: boolean
15-
/** `allowPage` allows the loaded module as a page. */
16-
allowPage?: boolean
15+
/** `asPage` allows the loaded module as a page. */
16+
asPage?: boolean
1717
/** `transform` transforms the source content. */
1818
transform(source: { url: string, content: Uint8Array, map?: Uint8Array }): LoaderTransformResult | Promise<LoaderTransformResult>
1919
}

0 commit comments

Comments
 (0)