mirror of
https://github.com/withastro/astro.git
synced 2025-01-20 22:12:38 -05:00
[ci] format
This commit is contained in:
parent
763ff2d1e4
commit
dd8dd6b31e
3 changed files with 4 additions and 8 deletions
|
@ -466,7 +466,6 @@ export interface AstroUserConfig {
|
|||
*/
|
||||
site?: string;
|
||||
|
||||
|
||||
/**
|
||||
* @docs
|
||||
* @name compressHTML
|
||||
|
|
|
@ -227,10 +227,7 @@ export function createRelativeSchema(cmd: string, fileProtocolRoot: URL) {
|
|||
.string()
|
||||
.default(ASTRO_CONFIG_DEFAULTS.srcDir)
|
||||
.transform((val) => new URL(appendForwardSlash(val), fileProtocolRoot)),
|
||||
compressHTML: z
|
||||
.boolean()
|
||||
.optional()
|
||||
.default(ASTRO_CONFIG_DEFAULTS.compressHTML),
|
||||
compressHTML: z.boolean().optional().default(ASTRO_CONFIG_DEFAULTS.compressHTML),
|
||||
publicDir: z
|
||||
.string()
|
||||
.default(ASTRO_CONFIG_DEFAULTS.publicDir)
|
||||
|
|
|
@ -18,7 +18,7 @@ function removeDoctypeLine(html) {
|
|||
* so that we can check if the rest of the HTML is without whitespace
|
||||
*/
|
||||
function removeDoctypeLineInDev(html) {
|
||||
return html.slice(-100)
|
||||
return html.slice(-100);
|
||||
}
|
||||
|
||||
describe('HTML minification', () => {
|
||||
|
@ -63,7 +63,7 @@ describe('HTML minification', () => {
|
|||
fixture = await loadFixture({
|
||||
root: './fixtures/minification-html/',
|
||||
output: 'server',
|
||||
adapter: testAdapter()
|
||||
adapter: testAdapter(),
|
||||
});
|
||||
await fixture.build();
|
||||
});
|
||||
|
|
Loading…
Add table
Reference in a new issue