-
-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9591273
commit 93a5a93
Showing
30 changed files
with
339 additions
and
451 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
import type Interface from "../Interface/Directory.js"; | ||
|
||
/** | ||
* @module Directory | ||
* | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
import type Interface from "../../Interface/Image/Writesharp.js"; | ||
|
||
/** | ||
* @module Image | ||
* | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,8 @@ | ||
import type { Pattern } from "fast-glob"; | ||
|
||
/** | ||
* @module CLI | ||
* | ||
*/ | ||
export default interface Interface { | ||
(File: Pattern[], Compress?: Pattern): Promise<void>; | ||
(File: Pattern[], Compress?: Pattern): Promise<void>; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,32 @@ | ||
import type { CompressOptions, MinifyOptions } from "csso"; | ||
|
||
/** | ||
* @module CSS | ||
* | ||
*/ | ||
export default interface Interface extends MinifyOptions, CompressOptions { | ||
/** | ||
* Specify what comments to leave: | ||
* - 'exclamation' or true – leave all exclamation comments | ||
* - 'first-exclamation' – remove every comment except first one | ||
* - false – remove all comments | ||
* | ||
* @default Compress false | ||
* @default csso true | ||
*/ | ||
comments?: boolean; | ||
/** | ||
* Enables merging of @media rules with the same media query by splitted by other rules. | ||
* The optimisation is unsafe in general, but should work fine in most cases. Use it on your own risk. | ||
* | ||
* @default Compress true | ||
* @default csso false | ||
*/ | ||
forceMediaMerge?: boolean; | ||
/** | ||
* Disable or enable a structure optimisations. | ||
* | ||
* @default CompressAstro false | ||
* @default csso true | ||
*/ | ||
restructure?: boolean; | ||
/** | ||
* Specify what comments to leave: | ||
* - 'exclamation' or true – leave all exclamation comments | ||
* - 'first-exclamation' – remove every comment except first one | ||
* - false – remove all comments | ||
* | ||
* @default Compress false | ||
* @default csso true | ||
*/ | ||
comments?: boolean; | ||
/** | ||
* Enables merging of @media rules with the same media query by splitted by other rules. | ||
* The optimisation is unsafe in general, but should work fine in most cases. Use it on your own risk. | ||
* | ||
* @default Compress true | ||
* @default csso false | ||
*/ | ||
forceMediaMerge?: boolean; | ||
/** | ||
* Disable or enable a structure optimisations. | ||
* | ||
* @default CompressAstro false | ||
* @default csso true | ||
*/ | ||
restructure?: boolean; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,21 @@ | ||
import type { CustomAtRules, TransformOptions } from "lightningcss"; | ||
|
||
/** | ||
* @module CSS | ||
* | ||
*/ | ||
export default interface Interface | ||
extends Omit< | ||
TransformOptions<CustomAtRules>, | ||
"filename" | "code" | "unusedSymbols" | ||
> { | ||
/** | ||
* Whether to enable minification | ||
* | ||
* @default Compress true | ||
* @default lightningcss false | ||
*/ | ||
minify?: boolean; | ||
/** | ||
* Whether to remove unused selectors or keywords. | ||
* | ||
* @default Compress false | ||
* @default lightningcss undefined | ||
*/ | ||
unusedSymbols?: string[] | boolean; | ||
export default interface Interface extends Omit<TransformOptions<CustomAtRules>, "filename" | "code" | "unusedSymbols"> { | ||
/** | ||
* Whether to enable minification | ||
* | ||
* @default Compress true | ||
* @default lightningcss false | ||
*/ | ||
minify?: boolean; | ||
/** | ||
* Whether to remove unused selectors or keywords. | ||
* | ||
* @default Compress false | ||
* @default lightningcss undefined | ||
*/ | ||
unusedSymbols?: string[] | boolean; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,8 @@ | ||
import type { ParsedPath } from "path"; | ||
|
||
/** | ||
* @module Directory | ||
* | ||
*/ | ||
export default interface Interface { | ||
(Path: string): Promise<ParsedPath["dir"]>; | ||
(Path: string): Promise<ParsedPath["dir"]>; | ||
} |
Oops, something went wrong.