fix pageage file
This commit is contained in:
parent
0c58f5b1e2
commit
96ae817982
3 changed files with 7 additions and 2 deletions
5
.changeset/tiny-snails-dance.md
Normal file
5
.changeset/tiny-snails-dance.md
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
---
|
||||||
|
'astro': minor
|
||||||
|
---
|
||||||
|
|
||||||
|
minification the HTML
|
|
@ -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}\"",
|
"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\"",
|
"postbuild": "astro-scripts copy \"src/**/*.astro\" && astro-scripts copy \"src/**/*.wasm\"",
|
||||||
"test:unit": "mocha --exit --timeout 30000 ./test/units/**/*.test.js",
|
"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: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": "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",
|
"test:match": "mocha --timeout 20000 -g",
|
||||||
|
|
|
@ -2,5 +2,6 @@ import { defineConfig } from 'astro/config';
|
||||||
|
|
||||||
// https://astro.build/config
|
// https://astro.build/config
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
compressHTML: true
|
compressHTML: true,
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue