Skip to content

Commit

Permalink
refactor(preset-umi): export route preload types for prebundle (#12183)
Browse files Browse the repository at this point in the history
  • Loading branch information
PeachScript authored Mar 8, 2024
1 parent 9594ec2 commit b8d7bd3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/preset-umi/src/features/routePreloadOnLoad/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@

import type { IRouteChunkFilesMap } from './routePreloadOnLoad';

interface IPreloadRouteFile {
export type { IRouteChunkFilesMap };

export interface IPreloadRouteFile {
type: 'js' | 'css' | (string & {});
url: string;
attrs: ([string, string] | [string])[];
Expand Down

0 comments on commit b8d7bd3

Please sign in to comment.