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

Commit 2cb5f29

Browse files
author
Je
committed
refactor: update types.ts
1 parent 961988a commit 2cb5f29

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export interface Plugin {
2424
/** `resolve` resolves the import url, if the `external` returned the compilation will skip the import url. */
2525
resolve?(url: string): { url: string, external?: boolean }
2626
/** `transform` transforms the source content. */
27-
transform?(content: Uint8Array, url: string): Promise<{ code: string, sourceMap?: string, loader?: 'js' | 'jsx' | 'css' | 'markdown' }>
27+
transform?(content: Uint8Array, url: string): Promise<{ code: string, map?: string, loader?: 'js' | 'jsx' | 'css' | 'markdown' }>
2828
}
2929

3030
/**

0 commit comments

Comments
 (0)