Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit d0eee9c

Browse filesBrowse files
Add names and originalFileNames to assets (#5686)
* Make names and originalFileNames an array * Update src/rollup/types.d.ts Co-authored-by: 翠 / green <green@sapphi.red> * Improve coverage --------- Co-authored-by: 翠 / green <green@sapphi.red>
1 parent bc7780c commit d0eee9c
Copy full SHA for d0eee9c

File tree

Expand file treeCollapse file tree

82 files changed

+1583
-36
lines changed
Filter options

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Dismiss banner
Expand file treeCollapse file tree

82 files changed

+1583
-36
lines changed

‎docs/configuration-options/index.md

Copy file name to clipboardExpand all lines: docs/configuration-options/index.md
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -574,8 +574,8 @@ See [`onLog`](#onlog) for more information.
574574

575575
```typescript
576576
interface PreRenderedAsset {
577-
name: string | undefined;
578-
originalFileName: string | null;
577+
names: string[];
578+
originalFileNames: string[];
579579
source: string | Uint8Array;
580580
type: 'asset';
581581
}

‎docs/plugin-development/index.md

Copy file name to clipboardExpand all lines: docs/plugin-development/index.md
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -908,9 +908,9 @@ Cf. [`output.banner/output.footer`](../configuration-options/index.md#output-ban
908908
```typescript
909909
interface OutputAsset {
910910
fileName: string;
911-
name: string | undefined;
911+
names: string[];
912912
needsCodeReference: boolean;
913-
originalFileName: string | null;
913+
originalFileNames: string[];
914914
source: string | Uint8Array;
915915
type: 'asset';
916916
}

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.