fix pageage file

This commit is contained in:
wuls 2023-04-26 16:38:03 +08:00
parent 0c58f5b1e2
commit 96ae817982
3 changed files with 7 additions and 2 deletions

View file

@ -0,0 +1,5 @@
---
'astro': minor
---
minification the HTML

View file

@ -99,7 +99,6 @@
"dev": "astro-scripts dev --copy-wasm --prebuild \"src/runtime/server/astro-island.ts\" --prebuild \"src/runtime/client/{idle,load,media,only,visible}.ts\" \"src/**/*.{ts,js}\"",
"postbuild": "astro-scripts copy \"src/**/*.astro\" && astro-scripts copy \"src/**/*.wasm\"",
"test:unit": "mocha --exit --timeout 30000 ./test/units/**/*.test.js",
"t": "mocha --exit --timeout 30000 ./test/astro-minification-html.test.js",
"test:unit:match": "mocha --exit --timeout 30000 ./test/units/**/*.test.js -g",
"test": "pnpm run test:unit && mocha --exit --timeout 20000 --ignore **/lit-element.test.js && mocha --timeout 20000 **/lit-element.test.js",
"test:match": "mocha --timeout 20000 -g",

View file

@ -2,5 +2,6 @@ import { defineConfig } from 'astro/config';
// https://astro.build/config
export default defineConfig({
compressHTML: true
compressHTML: true,
});