Skip to content

Commit

Permalink
Merge pull request #1327 from maizzle/build-current-types
Browse files Browse the repository at this point in the history
  • Loading branch information
cossssmin authored Aug 1, 2024
2 parents cca8060 + 18c75f7 commit bd91c5a
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions types/build.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -116,4 +116,31 @@ export default interface BuildConfig {
* ```
*/
summary?: boolean;

/**
* Information about the Template currently being compiled.
*
* @example
*
* ```
* {
path: {
root: 'build_production',
dir: 'build_production',
base: 'transactional.html',
ext: '.html',
name: 'transactional'
}
}
* ```
*/
current?: {
path?: {
root: string;
dir: string;
base: string;
ext: string;
name: string;
};
};
}

0 comments on commit bd91c5a

Please sign in to comment.