Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/vite/src/subset/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,6 @@ export class BundlePlugin {
const FontPath = filePath.split('?')[0];
const onlySubset = mode !== 'full';
await fontSplit({
...this.config,
input: FontPath,
outDir: resolvedPath,
reporter: true,
Expand All @@ -92,6 +91,7 @@ export class BundlePlugin {
subsetRemainChars: !onlySubset,
subsets: onlySubset ? chunk(this.subsets?.flat(), this.config.subsetChunkSize) : undefined,
silent: true,
...this.config,
}).catch((e) => {
console.error(e);
});
Expand Down